diff options
-rw-r--r-- | utils/devprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/devprobe.c b/utils/devprobe.c index e8f40902..fb4be6d0 100644 --- a/utils/devprobe.c +++ b/utils/devprobe.c @@ -72,7 +72,7 @@ main (int argc, char **argv) argp_failure (state, 3, err, "Can't get device master port"); } - err = device_open (device_master, 0, arg, &device); + err = device_open (device_master, D_READ, arg, &device); if (err == 0) /* Got it. */ { |