Author: marck (doc committer)
Date: Mon Feb 18 10:13:52 2019
New Revision: 344250
URL: https://svnweb.freebsd.org/changeset/base/344250
Log:
MFC: r343164
Clarify error messages a bit.
X-Found-With: r343112
Reviewed by: eugen (implicitly, when r343112 analysis)
Modified:
stable/11/usr.sbin/jail/command.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/jail/command.c
==============================================================================
--- stable/11/usr.sbin/jail/command.c Mon Feb 18 10:11:26 2019
(r344249)
+++ stable/11/usr.sbin/jail/command.c Mon Feb 18 10:13:52 2019
(r344250)
@@ -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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"