summaryrefslogtreecommitdiff
path: root/benchmarks/gem_prw.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-07-23 12:27:38 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-07-23 12:30:06 +0100
commitaf510c249d6d374267a2052da202ea7c3a6b20cf (patch)
treea795be19ce0f10af56787cf650e8f244e6d024f9 /benchmarks/gem_prw.c
parentf8628a2c9808fe191c98111a1d58d728f8d20e90 (diff)
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_prw.c')
-rw-r--r--benchmarks/gem_prw.c2
1 files changed, 1 insertions, 1 deletions
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)