* passwd.c (main): Fix typo in error output.
This commit is contained in:
parent
d510072c83
commit
1f4923ae73
|
@ -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