summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcwd.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-08-19 17:14:58 +0000
committerjmallett <jmallett@FreeBSD.org>2002-08-19 17:14:58 +0000
commit209b6366d94efdb86b170460f26cb0c11d259a37 (patch)
treecb993a1c7a2e563261abd83e3f5741188cbee835 /lib/libc/gen/getcwd.c
parent8d19e7758dfa9c44c520fe51f9e6294fc07a2eb7 (diff)
downloadFreeBSD-src-209b6366d94efdb86b170460f26cb0c11d259a37.zip
FreeBSD-src-209b6366d94efdb86b170460f26cb0c11d259a37.tar.gz
s/trailing NULL/trailing NUL/
Diffstat (limited to 'lib/libc/gen/getcwd.c')
-rw-r--r--lib/libc/gen/getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getcwd.c b/lib/libc/gen/getcwd.c
index 98c35d5..fd6f53c 100644
--- a/lib/libc/gen/getcwd.c
+++ b/lib/libc/gen/getcwd.c
@@ -155,7 +155,7 @@ getcwd(pt, 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) {
if ((up = reallocf(up, upsize *= 2)) == NULL)
OpenPOWER on IntegriCloud