From: Francesco Cosoleto Date: Wed, 24 Nov 2010 22:10:18 +0000 (+0100) Subject: renice: reverse %s position in error messages X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40cebc2d6f1ef28873c75bc27139b40b1c417805;p=util-linux renice: reverse %s position in error messages Signed-off-by: Francesco Cosoleto --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 51814d16..e45c5aed 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -124,14 +124,14 @@ main(int argc, char **argv) register struct passwd *pwd = getpwnam(*argv); if (pwd == NULL) { - warnx(_("%s: unknown user"), *argv); + warnx(_("unknown user %s"), *argv); continue; } who = pwd->pw_uid; } else { who = strtol(*argv, &endptr, 10); if (who < 0 || *endptr) { - warnx(_("%s: bad value"), *argv); + warnx(_("bad value %s"), *argv); continue; } }