]> err.no Git - util-linux/commitdiff
renice: reverse %s position in error messages
authorFrancesco Cosoleto <cosoleto@gmail.com>
Wed, 24 Nov 2010 22:10:18 +0000 (23:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Nov 2010 11:28:17 +0000 (12:28 +0100)
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
sys-utils/renice.c

index 51814d16fd5390fc9b658525051eda879be5a4c3..e45c5aed8076af22065a6edf1d68bd86db5a28b9 100644 (file)
@@ -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;
                        }
                }