ioat/kperf: -h option has no argument
Fix the getopt string for the -h switch so that it does not expect an argument. Change-Id: I8ea86018d6ee2c61ad698eead9718b2babfe6791 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
c6ddd1b894
commit
3b3060f14b
@ -222,7 +222,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
ring_size = 1UL << order;
|
||||
|
||||
while ((op = getopt(argc, argv, "h:n:q:s:t:")) != -1) {
|
||||
while ((op = getopt(argc, argv, "hn:q:s:t:")) != -1) {
|
||||
switch (op) {
|
||||
case 'n':
|
||||
threads = atoi(optarg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user