diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-06-05 21:55:57 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-06-05 21:55:57 +0000 |
| commit | cc66540e0edd8c62bd6cb53d5a58081310147b38 (patch) | |
| tree | a750d46aad879a4768bdf8afc723d69c8905a363 | |
| parent | b3e8643ffa41579e513617ee4b2abb5f9992de3a (diff) | |
Notes
| -rw-r--r-- | bin/df/df.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index 27f0fd7255f7..3cec5ddcbd74 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -527,8 +527,8 @@ char *makenetvfslist() mib[0] = CTL_VFS; mib[1] = VFS_GENERIC; mib[2] = VFS_MAXTYPENUM; miblen=sizeof(maxvfsconf); - if (sysctl(mib, (u_int) sizeof (mib) / sizeof(mib[0]), &maxvfsconf, - &miblen, NULL, 0)) { + if (sysctl(mib, (unsigned int)(sizeof(mib) / sizeof(mib[0])), + &maxvfsconf, &miblen, NULL, 0)) { warnx("sysctl failed"); return (NULL); } |
