svn commit: r344249 - stable/12/usr.sbin/jail

Dmitry Morozovsky marck at FreeBSD.org
Mon Feb 18 10:11:28 UTC 2019


Author: marck (doc committer)
Date: Mon Feb 18 10:11:26 2019
New Revision: 344249
URL: https://svnweb.freebsd.org/changeset/base/344249

Log:
  MFC: r343164
  
  Clarify error messages a bit.
  
  X-Found-With:	r343112
  Reviewed by:	eugen (implicitly, when r343112 analysis)

Modified:
  stable/12/usr.sbin/jail/command.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/jail/command.c
==============================================================================
--- stable/12/usr.sbin/jail/command.c	Mon Feb 18 08:26:18 2019	(r344248)
+++ stable/12/usr.sbin/jail/command.c	Mon Feb 18 10:11:26 2019	(r344249)
@@ -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);


More information about the svn-src-all mailing list