Commit 3b3060f1 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent c6ddd1b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);