summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2004-11-25 16:14:27 +0000
committerXin LI <delphij@FreeBSD.org>2004-11-25 16:14:27 +0000
commita4c40dd85d26648381e631b7d130caa3f921a8b6 (patch)
tree555794bdeef205170bd4df0801acfc15e635f0af
parentbee297849c4280aba60107d0a00418f18f020aa7 (diff)
Notes
-rw-r--r--sbin/mount/getmntopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c
index 2e8676ddce3ed..d0880f90b792b 100644
--- a/sbin/mount/getmntopts.c
+++ b/sbin/mount/getmntopts.c
@@ -145,7 +145,7 @@ build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, int le
{
int i;
- if (iovlen < 0)
+ if (*iovlen < 0)
return;
i = *iovlen;
*iov = realloc(*iov, sizeof **iov * (i + 2));