diff options
Diffstat (limited to 'sbin/mount/getmntopts.c')
-rw-r--r-- | sbin/mount/getmntopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c index 2e8676d..d0880f9 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)); |