From a10a751f68ca086ec6b51ef495ba06b1a8dc2f6f Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Mon, 19 Aug 2002 17:14:58 +0000 Subject: [PATCH] s/trailing NULL/trailing NUL/ --- lib/libc/gen/getcwd.c | 2 +- lib/libc/gen/vis.c | 2 +- 2 files changed, 2 insertions(+), 2 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) diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c index 640ae3af315a..8868a706e462 100644 --- a/lib/libc/gen/vis.c +++ b/lib/libc/gen/vis.c @@ -159,7 +159,7 @@ vis(dst, c, flag, nextc) * strvis, strvisx - visually encode characters from src into dst * * Dst must be 4 times the size of src to account for possible - * expansion. The length of dst, not including the trailing NULL, + * expansion. The length of dst, not including the trailing NUL, * is returned. * * Strvisx encodes exactly len bytes from src into dst.