Don't expect a return value from statfs_scale_blocks().

This commit is contained in:
scottl 2007-12-07 22:32:09 +00:00
parent a738f66c05
commit 38b1bc6f6b

View File

@ -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);