diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/getnetpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/getnetpath.c b/lib/libc/rpc/getnetpath.c index ce2984b..8d31136 100644 --- a/lib/libc/rpc/getnetpath.c +++ b/lib/libc/rpc/getnetpath.c @@ -262,7 +262,7 @@ _get_next_token(char *npp, int token) *cp++ = '\0'; /* null-terminate token */ /* get rid of any backslash escapes */ ep = npp; - while ((np = strchr(ep, '\\')) != 0) { + while ((np = strchr(ep, '\\')) != NULL) { if (np[1] == '\\') np++; strcpy(np, (ep = &np[1])); /* XXX: overlapping string copy */ |