svn commit: r239892 - stable/9/usr.sbin/jail

Maxim Konovalov maxim at FreeBSD.org
Thu Aug 30 07:34:26 UTC 2012


Author: maxim
Date: Thu Aug 30 07:34:25 2012
New Revision: 239892
URL: http://svn.freebsd.org/changeset/base/239892

Log:
  MFC r237697: restore -u <username> getopt(3) flag.

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

Modified: stable/9/usr.sbin/jail/jail.c
==============================================================================
--- stable/9/usr.sbin/jail/jail.c	Thu Aug 30 07:25:17 2012	(r239891)
+++ stable/9/usr.sbin/jail/jail.c	Thu Aug 30 07:34:25 2012	(r239892)
@@ -145,7 +145,7 @@ main(int argc, char **argv)
 	cfname = CONF_FILE;
 	JidFile = NULL;
 
-	while ((ch = getopt(argc, argv, "cdf:hiJ:lmn:p:qrRs:U:v")) != -1) {
+	while ((ch = getopt(argc, argv, "cdf:hiJ:lmn:p:qrRs:u:U:v")) != -1) {
 		switch (ch) {
 		case 'c':
 			op |= JF_START;


More information about the svn-src-stable mailing list