[Pkg-shadow-commits] r3394 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Jul 14 13:30:00 UTC 2011


Author: nekral-guest
Date: 2011-07-14 13:29:59 +0000 (Thu, 14 Jul 2011)
New Revision: 3394

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/usermod.c
Log:
	* src/usermod.c (process_flags): Indicate that the user name is
	invalid, instead of just a 'field'.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2011-07-14 13:29:54 UTC (rev 3393)
+++ upstream/trunk/ChangeLog	2011-07-14 13:29:59 UTC (rev 3394)
@@ -28,6 +28,8 @@
 	because getpwnam returned successfully.
 	* src/usermod.c (process_flags): Do not display the usage in case
 	of an invalid -f value (similar to -e).
+	* src/usermod.c (process_flags): Indicate that the user name is
+	invalid, instead of just a 'field'.
 
 2011-07-08  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/src/usermod.c
===================================================================
--- upstream/trunk/src/usermod.c	2011-07-14 13:29:54 UTC (rev 3393)
+++ upstream/trunk/src/usermod.c	2011-07-14 13:29:59 UTC (rev 3394)
@@ -971,7 +971,7 @@
 			case 'l':
 				if (!is_valid_user_name (optarg)) {
 					fprintf (stderr,
-					         _("%s: invalid field '%s'\n"),
+					         _("%s: invalid user name '%s'\n"),
 					         Prog, optarg);
 					exit (E_BAD_ARG);
 				}




More information about the Pkg-shadow-commits mailing list