Don't expect a return value from statfs_scale_blocks().
This commit is contained in:
parent
2c7bf96d02
commit
7815c9e2db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user