summaryrefslogtreecommitdiff
path: root/patgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'patgen.c')
-rw-r--r--patgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/patgen.c b/patgen.c
index f3f1769..8c980e1 100644
--- a/patgen.c
+++ b/patgen.c
@@ -37,10 +37,10 @@ int main(int argc, char *argv[])
unsigned char c=0;
unsigned char outbuf[BLOCK_SIZE];
if (argc < 2) {
- fprintf(stderr, "Usage: markhdlctest <tor device>\n");
+ fprintf(stderr, "Usage: %s <zap device>\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);