From: Roland McGrath Date: Thu, 5 Jul 2007 19:31:49 +0000 (+0000) Subject: 2007-07-05 Roland McGrath X-Git-Tag: v4.5.18~207 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09553f85cd97c4ad35cdf316c8e65621b9e86712;p=strace 2007-07-05 Roland McGrath * strace.c (main): Fix error message for unfound -u user. From Srinivasa Ds . --- diff --git a/strace.c b/strace.c index ce982dc6..6ee5b6a7 100644 --- a/strace.c +++ b/strace.c @@ -766,7 +766,7 @@ char *argv[]; } if ((pent = getpwnam(username)) == NULL) { fprintf(stderr, "%s: cannot find user `%s'\n", - progname, optarg); + progname, username); exit(1); } run_uid = pent->pw_uid;