summaryrefslogtreecommitdiff
path: root/pattest.c
diff options
context:
space:
mode:
Diffstat (limited to 'pattest.c')
-rw-r--r--pattest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pattest.c b/pattest.c
index 1923614..d14311a 100644
--- a/pattest.c
+++ b/pattest.c
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Usage: %s <zap device> [optional timeout]\n",argv[0]);
exit(1);
}
- fd = open(argv[1], O_RDWR, 0600);
+ fd = open(argv[1], O_RDWR);
if (fd < 0) {
fprintf(stderr, "Unable to open %s: %s\n", argv[1], strerror(errno));
exit(1);