diff options
| author | Juli Mallett <jmallett@FreeBSD.org> | 2002-08-19 17:14:58 +0000 |
|---|---|---|
| committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-08-19 17:14:58 +0000 |
| commit | a10a751f68ca086ec6b51ef495ba06b1a8dc2f6f (patch) | |
| tree | cb993a1c7a2e563261abd83e3f5741188cbee835 /lib/libc/gen/getcwd.c | |
| parent | 94d4e7b64f2b1c999e1f28989bcccda5c4f0b7bb (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/getcwd.c')
| -rw-r--r-- | lib/libc/gen/getcwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getcwd.c b/lib/libc/gen/getcwd.c index 98c35d584e7b..fd6f53cd15c8 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) |
