diff options
Diffstat (limited to 'winsup/utils/passwd.c')
-rw-r--r-- | winsup/utils/passwd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/utils/passwd.c b/winsup/utils/passwd.c index ea3e2d159..991935a2a 100644 --- a/winsup/utils/passwd.c +++ b/winsup/utils/passwd.c @@ -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); |