]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ionice: add a missing error message
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 29 Apr 2014 09:36:22 +0000 (11:36 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 May 2014 09:09:30 +0000 (11:09 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
schedutils/ionice.c

index a3edf551239927d86a960b04b9d0909b40231970..26b6d7ca269d4970595a671d690637f525dc8840 100644 (file)
@@ -188,6 +188,7 @@ int main(int argc, char **argv)
                        if (who)
                                errx(EXIT_FAILURE,
                                     _("can handle one of pid, pgid or uid at once"));
+                       invalid_msg = _("invalid UID argument");
                        which = strtos32_or_err(optarg, invalid_msg);
                        who = IOPRIO_WHO_USER;
                        break;