summaryrefslogtreecommitdiff
path: root/patlooptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'patlooptest.c')
-rw-r--r--patlooptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patlooptest.c b/patlooptest.c
index 655d387..d1ab7e6 100644
--- a/patlooptest.c
+++ b/patlooptest.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Usage: %s <zaptel 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);