diff options
Diffstat (limited to 'pattest.c')
-rw-r--r-- | pattest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |