diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-26 15:19:13 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-06-26 15:19:13 +0000 |
commit | f09308df4e0f28dd217b6c7a9479665e7c868060 (patch) | |
tree | b7181157e25f5692b0d29271c8bfc659a2783acf /usr.bin | |
parent | 1008ed6541b9b58d97239303db8312f37dc3e87e (diff) |
fail if cwd is not available; pr4265; espie@ ok
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index cd11d4b7dab..a5e4250cbb8 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: dir.c,v 1.42 2004/06/22 19:58:20 espie Exp $ */ +/* $OpenBSD: dir.c,v 1.43 2005/06/26 15:19:12 mickey Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* @@ -313,7 +313,7 @@ Dir_Init(void) dot = DirReaddiri(dotname, dotname+1); if (!dot) - Error("Can't access current directory"); + Fatal("Can't access current directory"); /* We always need to have dot around, so we increment its reference count * to make sure it won't be destroyed. */ |