Author: marck (doc committer)
Date: Fri Jan 18 23:00:52 2019
New Revision: 343164
URL: https://svnweb.freebsd.org/changeset/base/343164

Log:
  Clarify error messages a bit.
  
  X-Found-With: r343112
  MFC after:    1 month

Modified:
  head/usr.sbin/jail/command.c

Modified: head/usr.sbin/jail/command.c
==============================================================================
--- head/usr.sbin/jail/command.c        Fri Jan 18 22:20:29 2019        
(r343163)
+++ head/usr.sbin/jail/command.c        Fri Jan 18 23:00:52 2019        
(r343164)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to