From e1175ff7feacee6418eadab8b59518a8d2d08b74 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 26 Feb 1997 23:33:06 +0000 Subject: (main): Open device read-only. --- utils/devprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ { -- cgit v1.2.3