* passwd.c (main): Fix typo in error output.
This commit is contained in:
parent
5d427504a3
commit
a46f6d459f
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue