diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-04-23 16:53:02 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-04-23 16:53:02 +0000 |
commit | d0c8c0bcc279fcf7568c5e97c15c115cbf83be4c (patch) | |
tree | 70033bf9d0551c1f485a8bf5c04d41148812e33a /crypto/openssh/openbsd-compat/getcwd.c | |
parent | 4b17dab0ba7675679933f9f3d4aed1cd28dd0393 (diff) | |
download | src-test2-d0c8c0bcc279fcf7568c5e97c15c115cbf83be4c.tar.gz src-test2-d0c8c0bcc279fcf7568c5e97c15c115cbf83be4c.zip |
Notes
Diffstat (limited to 'crypto/openssh/openbsd-compat/getcwd.c')
-rw-r--r-- | crypto/openssh/openbsd-compat/getcwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/openbsd-compat/getcwd.c b/crypto/openssh/openbsd-compat/getcwd.c index 6fd8543a5f3e..f4b98e824937 100644 --- a/crypto/openssh/openbsd-compat/getcwd.c +++ b/crypto/openssh/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; |