summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/getcwd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-08 11:16:48 +1100
committerDamien Miller <djm@mindrot.org>2003-01-08 11:16:48 +1100
commit13dd03a0e2605f0ec2da811aa814a58bc2dd9a3d (patch)
tree16312c22195da192458f6e9c8e9b2def232ad2dc /openbsd-compat/getcwd.c
parentbc9b7c41e2339cc5158357213dad9f238612705b (diff)
- (djm) Sync openbsd-compat/ with OpenBSD -current
Diffstat (limited to 'openbsd-compat/getcwd.c')
-rw-r--r--openbsd-compat/getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/getcwd.c b/openbsd-compat/getcwd.c
index 6fd8543a..f4b98e82 100644
--- a/openbsd-compat/getcwd.c
+++ b/openbsd-compat/getcwd.c
@@ -29,7 +29,7 @@
#if !defined(HAVE_GETCWD)
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getcwd.c,v 1.6 2000/07/19 15:25:13 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: getcwd.c,v 1.7 2002/11/24 01:52:27 cloder Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -127,7 +127,7 @@ getcwd(char *pt,size_t size)
/*
* Build pointer to the parent directory, allocating memory
* as necessary. Max length is 3 for "../", the largest
- * possible component name, plus a trailing NULL.
+ * possible component name, plus a trailing NUL.
*/
if (bup + 3 + MAXNAMLEN + 1 >= eup) {
char *nup;