* passwd.c (main): Fix typo in error output.

This commit is contained in:
Corinna Vinschen 2014-06-16 13:27:33 +00:00
parent 5d427504a3
commit a46f6d459f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-06-16 Corinna Vinschen <corinna@vinschen.de>
* passwd.c (main): Fix typo in error output.
2014-04-21 Jon TURNEY <jon.turney@dronecode.org.uk> 2014-04-21 Jon TURNEY <jon.turney@dronecode.org.uk>
* minidumper.cc (filter_minidump_type): New function. * minidumper.cc (filter_minidump_type): New function.

View File

@ -537,7 +537,8 @@ main (int argc, char **argv)
if (!strcmp (username, getlogin ())) if (!strcmp (username, getlogin ()))
username = NULL; username = NULL;
else if (!caller_is_admin ()) else if (!caller_is_admin ())
return eprint (0, "You may not change the password for %s.", user); return eprint (0, "You may not change the password for %s.",
username);
if (optind < argc) if (optind < argc)
usage (stderr, 1); usage (stderr, 1);