aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-06-16 22:56:46 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-06-16 22:56:46 +0000
commit9be1ce2dce8350b5d692bb8ed3bd4c065d8d2c66 (patch)
treefe0ee73ff515b00775e9c5aeebd2ac6e0c5bcbdf
parent990a805827c26a4b6509a928da61c9faf675c300 (diff)
downloadklibc-9be1ce2dce8350b5d692bb8ed3bd4c065d8d2c66.tar.gz
Add missing *'sklibc-0.143
-rw-r--r--nfsmount/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfsmount/main.c b/nfsmount/main.c
index a1bf3471490cd..361a5451e2f17 100644
--- a/nfsmount/main.c
+++ b/nfsmount/main.c
@@ -81,7 +81,7 @@ static int parse_int(const char *val, const char *ctx)
int ret;
ret = (int) strtoul(val, &end, 0);
- if (val == '\0' || end != '\0') {
+ if (*val == '\0' || *end != '\0') {
fprintf(stderr, "%s: invalid value for %s\n", val, ctx);
exit(1);
}