From 6da6538f1a02d614d762116c5bffcbfce77dade8 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 21 Nov 1998 08:45:22 +0000 Subject: Indicate that the thing not found was not /bin/pwd but rather $CWD (or .). --- bin/pwd/pwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/pwd') diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c index fab0dfb..92973f9 100644 --- a/bin/pwd/pwd.c +++ b/bin/pwd/pwd.c @@ -42,7 +42,7 @@ static char const copyright[] = static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94"; #endif static const char rcsid[] = - "$Id$"; + "$Id: pwd.c,v 1.7 1998/05/15 06:30:58 charnier Exp $"; #endif /* not lint */ #include @@ -82,7 +82,7 @@ main(argc, argv) usage(); if ((p = getcwd(NULL, 0)) == NULL) - err(1, NULL); + err(1, "."); (void)printf("%s\n", p); exit(0); } -- cgit v1.1