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:
parent
88413c6b88
commit
e03d223bd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191898
@ -223,8 +223,7 @@ linux_prison_check(void *obj __unused, void *data)
|
|||||||
{
|
{
|
||||||
struct vfsoptlist *opts = data;
|
struct vfsoptlist *opts = data;
|
||||||
char *osname, *osrelease;
|
char *osname, *osrelease;
|
||||||
size_t len;
|
int error, len, oss_version;
|
||||||
int error, oss_version;
|
|
||||||
|
|
||||||
/* Check that the parameters are correct. */
|
/* Check that the parameters are correct. */
|
||||||
(void)vfs_flagopt(opts, "linux", NULL, 0);
|
(void)vfs_flagopt(opts, "linux", NULL, 0);
|
||||||
@ -263,8 +262,7 @@ linux_prison_set(void *obj, void *data)
|
|||||||
struct prison *pr = obj;
|
struct prison *pr = obj;
|
||||||
struct vfsoptlist *opts = data;
|
struct vfsoptlist *opts = data;
|
||||||
char *osname, *osrelease;
|
char *osname, *osrelease;
|
||||||
size_t len;
|
int error, gotversion, len, nolinux, oss_version, yeslinux;
|
||||||
int error, gotversion, nolinux, oss_version, yeslinux;
|
|
||||||
|
|
||||||
/* Set the parameters, which should be correct. */
|
/* Set the parameters, which should be correct. */
|
||||||
yeslinux = vfs_flagopt(opts, "linux", NULL, 0);
|
yeslinux = vfs_flagopt(opts, "linux", NULL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user