28c28
< __FBSDID("$FreeBSD: projects/jailconf/usr.sbin/jail/command.c 214117 2010-10-20 20:42:33Z jamie $");
---
> __FBSDID("$FreeBSD: projects/jailconf/usr.sbin/jail/command.c 214783 2010-11-04 17:01:21Z jamie $");
192c192
< } else if (comparam == IP_MOUNT) {
---
> } else if (comparam == IP_MOUNT || comparam == IP__MOUNT_FROM_FSTAB) {
201,202c201,202
< jail_warnx(j, "mount: %s: missing information",
< comstring->s);
---
> jail_warnx(j, "%s: %s: missing information",
> j->intparams[comparam]->name, comstring->s);
226,232d225
< } else if (comparam == IP_MOUNT_FSTAB) {
< argv = alloca(4 * sizeof(char *));
< *(const char **)&argv[0] = down ? "/sbin/umount" : _PATH_MOUNT;
< *(const char **)&argv[1] = "-aF";
< argv[2] = comstring->s;
< argv[3] = NULL;
< j->flags |= JF_MOUNTED;
< __FBSDID("$FreeBSD: projects/jailconf/usr.sbin/jail/command.c 214117 2010-10-20 20:42:33Z jamie $");
---
> __FBSDID("$FreeBSD: projects/jailconf/usr.sbin/jail/command.c 214783 2010-11-04 17:01:21Z jamie $");
192c192
< } else if (comparam == IP_MOUNT) {
---
> } else if (comparam == IP_MOUNT || comparam == IP__MOUNT_FROM_FSTAB) {
201,202c201,202
< jail_warnx(j, "mount: %s: missing information",
< comstring->s);
---
> jail_warnx(j, "%s: %s: missing information",
> j->intparams[comparam]->name, comstring->s);
226,232d225
< } else if (comparam == IP_MOUNT_FSTAB) {
< argv = alloca(4 * sizeof(char *));
< *(const char **)&argv[0] = down ? "/sbin/umount" : _PATH_MOUNT;
< *(const char **)&argv[1] = "-aF";
< argv[2] = comstring->s;
< argv[3] = NULL;
< j->flags |= JF_MOUNTED;