From: nekral-guest Date: Thu, 14 Jul 2011 13:29:59 +0000 (+0000) Subject: * src/usermod.c (process_flags): Indicate that the user name is X-Git-Tag: 4.1.5~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4e630b8cc0126dda0f071da76ecf315f4330eb5;p=shadow * src/usermod.c (process_flags): Indicate that the user name is invalid, instead of just a 'field'. --- diff --git a/ChangeLog b/ChangeLog index d0433ae8..4e31be1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/usermod.c b/src/usermod.c index 9525ade3..16092e2a 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -971,7 +971,7 @@ static void process_flags (int argc, char **argv) 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); }