From 7815c9e2db0d1a4d8389ef1b9193aabd23af3d14 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 7 Dec 2007 22:32:09 +0000 Subject: [PATCH] Don't expect a return value from statfs_scale_blocks(). --- sys/compat/freebsd32/freebsd32_misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 1eb515524203..5cee623ff6c1 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);