From a46f6d459f5b558373a9d799ac5265f89ad240e0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 16 Jun 2014 13:27:33 +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 434cc43d2..f61161c17 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);