Subject: CVS commit: src/usr.sbin/pkg_install/admin
To: None <source-changes@NetBSD.org>
From: Jeremy C. Reed <reed@netbsd.org>
List: source-changes
Date: 03/06/2006 20:00:10
Module Name:	src
Committed By:	reed
Date:		Mon Mar  6 20:00:10 UTC 2006

Modified Files:
	src/usr.sbin/pkg_install/admin: main.c

Log Message:
Fix the "Cannot chdir" error message to actually show the
problem directory name for lsbest and lsall.

For example:

# pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0'
pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory

Should show:
pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 src/usr.sbin/pkg_install/admin/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.