diff options
author | Sami Kerola | 2016-04-03 10:35:27 +0200 |
---|---|---|
committer | Karel Zak | 2016-04-04 10:26:03 +0200 |
commit | b3a50671480095c3723ef0792d5f80aba80f31b2 (patch) | |
tree | 15f1aec7e909b46f1f991efd8cb00e287d28a619 /schedutils | |
parent | libmount: Fix possible NULL dereference in get_btrfs_fs_root() (diff) | |
download | kernel-qcow2-util-linux-b3a50671480095c3723ef0792d5f80aba80f31b2.tar.gz kernel-qcow2-util-linux-b3a50671480095c3723ef0792d5f80aba80f31b2.tar.xz kernel-qcow2-util-linux-b3a50671480095c3723ef0792d5f80aba80f31b2.zip |
chrt: make --sched-* short options to require an argument
These options are expecting an argument, and the long options struct already
required them.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'schedutils')
-rw-r--r-- | schedutils/chrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 363d6e1df..64a58584f 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -399,7 +399,7 @@ int main(int argc, char **argv) textdomain(PACKAGE); atexit(close_stdout); - while((c = getopt_long(argc, argv, "+abdDfiphmoPTrRvV", longopts, NULL)) != -1) + while((c = getopt_long(argc, argv, "+abdD:fiphmoP:T:rRvV", longopts, NULL)) != -1) { int ret = EXIT_FAILURE; |