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

This commit is contained in:
Scott Long 2007-12-07 22:32:09 +00:00
parent 2c7bf96d02
commit 7815c9e2db

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