diff options
author | scottl <scottl@FreeBSD.org> | 2007-12-07 22:32:09 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-12-07 22:32:09 +0000 |
commit | 38b1bc6f6ba9805311850f502a0eb6c0a478566f (patch) | |
tree | 93c81ba61e8e90e3ee022afdfd6988efae6d84b4 /sys/compat/freebsd32 | |
parent | a738f66c0565ffc53e02b9f6f281ad7d8ab3e435 (diff) | |
download | FreeBSD-src-38b1bc6f6ba9805311850f502a0eb6c0a478566f.zip FreeBSD-src-38b1bc6f6ba9805311850f502a0eb6c0a478566f.tar.gz |
Don't expect a return value from statfs_scale_blocks().
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 1eb5155..5cee623 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -150,9 +150,7 @@ copy_statfs(struct statfs *in, struct statfs32 *out) { int error; - error = statfs_scale_blocks(in, INT32_MAX); - if (error) - return (error); + statfs_scale_blocks(in, INT32_MAX); bzero(out, sizeof(*out)); CP(*in, *out, f_bsize); out->f_iosize = MIN(in->f_iosize, INT32_MAX); |