From 1f4923ae7393c92740c01248b0b5a538624f9f7d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 16 Jun 2014 13:27:08 +0000 Subject: [PATCH] * passwd.c (main): Fix typo in error output. --- winsup/utils/ChangeLog | 4 ++++ winsup/utils/passwd.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c37d5d016..b01600fb8 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2014-06-16 Corinna Vinschen + + * passwd.c (main): Fix typo in error output. + 2014-04-21 Jon TURNEY * minidumper.cc (filter_minidump_type): New function. 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);