diff options
author | jamie <jamie@FreeBSD.org> | 2009-05-07 19:46:29 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-05-07 19:46:29 +0000 |
commit | fa0fd85038112daf1c7af75811d6cc4764c7788f (patch) | |
tree | 16f2506ccb0e4467934edd794ec7c7d8b11fc5db /sys/compat | |
parent | 84686f5c51c24f959cf99a20d5722ab6c2867110 (diff) | |
download | FreeBSD-src-fa0fd85038112daf1c7af75811d6cc4764c7788f.zip FreeBSD-src-fa0fd85038112daf1c7af75811d6cc4764c7788f.tar.gz |
Give vfs_getopt the type it's expecting.
Write 100 times: "32 bits is so twentieth century."
Noticed by: dchagin
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_mib.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index fd17773..676ddcd 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -223,8 +223,7 @@ linux_prison_check(void *obj __unused, void *data) { struct vfsoptlist *opts = data; char *osname, *osrelease; - size_t len; - int error, oss_version; + int error, len, oss_version; /* Check that the parameters are correct. */ (void)vfs_flagopt(opts, "linux", NULL, 0); @@ -263,8 +262,7 @@ linux_prison_set(void *obj, void *data) struct prison *pr = obj; struct vfsoptlist *opts = data; char *osname, *osrelease; - size_t len; - int error, gotversion, nolinux, oss_version, yeslinux; + int error, gotversion, len, nolinux, oss_version, yeslinux; /* Set the parameters, which should be correct. */ yeslinux = vfs_flagopt(opts, "linux", NULL, 0); |