From af510c249d6d374267a2052da202ea7c3a6b20cf Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 23 Jul 2015 12:27:38 +0100 Subject: benchmarks: gem_prw add the read/write switch to getopt In my haste to merge the two gem_pread/gem_pwrite, I forgot to write up the command line switch to getopt. Signed-off-by: Chris Wilson --- benchmarks/gem_prw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks/gem_prw.c') diff --git a/benchmarks/gem_prw.c b/benchmarks/gem_prw.c index 360378d0..cf9218e4 100644 --- a/benchmarks/gem_prw.c +++ b/benchmarks/gem_prw.c @@ -62,7 +62,7 @@ int main(int argc, char **argv) int reps = 13; int c, size; - while ((c = getopt (argc, argv, "d:r:")) != -1) { + while ((c = getopt (argc, argv, "D:d:r:")) != -1) { switch (c) { case 'd': if (strcmp(optarg, "cpu") == 0) -- cgit v1.2.3