]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/renice.c
su: change error message
[thirdparty/util-linux.git] / sys-utils / renice.c
index a88f590fb2fa483986fd3d76fdbbfff4b42934f9..3ae71f9c1dd7e9c0ef04ad27427adfab1aa62362 100644 (file)
@@ -73,9 +73,8 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -g, --pgrp <id>        interpret argument as process group ID\n"), out);
        fputs(_(" -u, --user <name>|<id> interpret argument as username or user ID\n"), out);
        fputs(USAGE_SEPARATOR, out);
-       fputs(USAGE_HELP, out);
-       fputs(USAGE_VERSION, out);
-       fprintf(out, USAGE_MAN_TAIL("renice(1)"));
+       printf(USAGE_HELP_OPTIONS(24));
+       printf(USAGE_MAN_TAIL("renice(1)"));
        exit(EXIT_SUCCESS);
 }
 
@@ -150,7 +149,7 @@ int main(int argc, char **argv)
 
        prio = strtol(*argv, &endptr, 10);
        if (*endptr) {
-               warnx(_("invalid priorty '%s'"), *argv);
+               warnx(_("invalid priority '%s'"), *argv);
                errtryhelp(EXIT_FAILURE);
        }
        argc--;