Clarify error messages a bit.
X-Found-With: r343112 MFC after: 1 month
This commit is contained in:
parent
0a62e62d7a
commit
f0c36dcff9
@ -497,7 +497,7 @@ run_command(struct cfjail *j)
|
||||
argv = alloca(7 * sizeof(char *));
|
||||
path = string_param(j->intparams[KP_PATH]);
|
||||
if (path == NULL) {
|
||||
jail_warnx(j, "mount.devfs: no path");
|
||||
jail_warnx(j, "mount.devfs: no jail root path defined");
|
||||
return -1;
|
||||
}
|
||||
devpath = alloca(strlen(path) + 5);
|
||||
@ -528,7 +528,7 @@ run_command(struct cfjail *j)
|
||||
argv = alloca(7 * sizeof(char *));
|
||||
path = string_param(j->intparams[KP_PATH]);
|
||||
if (path == NULL) {
|
||||
jail_warnx(j, "mount.fdescfs: no path");
|
||||
jail_warnx(j, "mount.fdescfs: no jail root path defined");
|
||||
return -1;
|
||||
}
|
||||
devpath = alloca(strlen(path) + 8);
|
||||
@ -554,7 +554,7 @@ run_command(struct cfjail *j)
|
||||
argv = alloca(7 * sizeof(char *));
|
||||
path = string_param(j->intparams[KP_PATH]);
|
||||
if (path == NULL) {
|
||||
jail_warnx(j, "mount.procfs: no path");
|
||||
jail_warnx(j, "mount.procfs: no jail root path defined");
|
||||
return -1;
|
||||
}
|
||||
devpath = alloca(strlen(path) + 6);
|
||||
|
Loading…
Reference in New Issue
Block a user