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

This commit is contained in:
Corinna Vinschen 2014-06-16 13:27:08 +00:00
parent d510072c83
commit 1f4923ae73
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>
* minidumper.cc (filter_minidump_type): New function.

View File

@ -537,7 +537,8 @@ main (int argc, char **argv)
if (!strcmp (username, getlogin ()))
username = NULL;
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)
usage (stderr, 1);