Give vfs_getopt the type it's expecting.

Write 100 times: "32 bits is so twentieth century."

Noticed by:	dchagin
This commit is contained in:
jamie 2009-05-07 19:46:29 +00:00
parent 84686f5c51
commit fa0fd85038

View File

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