aboutsummaryrefslogtreecommitdiff
path: root/util-linux/ionice.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/ionice.c')
-rw-r--r--util-linux/ionice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/ionice.c b/util-linux/ionice.c
index 40c04d5e0..c8fb1a777 100644
--- a/util-linux/ionice.c
+++ b/util-linux/ionice.c
@@ -18,11 +18,11 @@
18//kbuild:lib-$(CONFIG_IONICE) += ionice.o 18//kbuild:lib-$(CONFIG_IONICE) += ionice.o
19 19
20//usage:#define ionice_trivial_usage 20//usage:#define ionice_trivial_usage
21//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG]" 21//usage: "[-c 1-3] [-n 0-7] [-p PID] [PROG ARGS]"
22//usage:#define ionice_full_usage "\n\n" 22//usage:#define ionice_full_usage "\n\n"
23//usage: "Change I/O priority and class\n" 23//usage: "Change I/O priority and class\n"
24//usage: "\n -c Class. 1:realtime 2:best-effort 3:idle" 24//usage: "\n -c N Class. 1:realtime 2:best-effort 3:idle"
25//usage: "\n -n Priority" 25//usage: "\n -n N Priority"
26 26
27#include <sys/syscall.h> 27#include <sys/syscall.h>
28#include <asm/unistd.h> 28#include <asm/unistd.h>
@@ -61,7 +61,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
61 /* Defaults */ 61 /* Defaults */
62 int ioclass = 0; 62 int ioclass = 0;
63 int pri = 0; 63 int pri = 0;
64 int pid = 0; /* affect own porcess */ 64 int pid = 0; /* affect own process */
65 int opt; 65 int opt;
66 enum { 66 enum {
67 OPT_n = 1, 67 OPT_n = 1,