summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdlcstress.c2
-rw-r--r--hdlctest.c2
-rw-r--r--patgen.c2
-rw-r--r--patlooptest.c2
-rw-r--r--pattest.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/hdlcstress.c b/hdlcstress.c
index 9bb9556..ee4c35a 100644
--- a/hdlcstress.c
+++ b/hdlcstress.c
@@ -137,7 +137,7 @@ 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 <DAHDI device>\n", argv[0]);
exit(1);
}
fd = open(argv[1], O_RDWR, 0600);
diff --git a/hdlctest.c b/hdlctest.c
index e693ae7..d9c6ada 100644
--- a/hdlctest.c
+++ b/hdlctest.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
int hdlcmode = 0;
struct fasthdlc_state fs;
if (argc < 2) {
- fprintf(stderr, "Usage: markhdlctest <tor device>\n");
+ fprintf(stderr, "Usage: %s <DAHDI device>\n", argv[0]);
exit(1);
}
fd = open(argv[1], O_RDWR, 0600);
diff --git a/patgen.c b/patgen.c
index bf3e43e..a4485c4 100644
--- a/patgen.c
+++ b/patgen.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
unsigned char c=0;
unsigned char outbuf[BLOCK_SIZE];
if (argc < 2) {
- fprintf(stderr, "Usage: %s <tor device>\n", argv[0]);
+ fprintf(stderr, "Usage: %s <DAHDI device>\n", argv[0]);
exit(1);
}
fd = open(argv[1], O_RDWR, 0600);
diff --git a/patlooptest.c b/patlooptest.c
index cdbe285..fc97c83 100644
--- a/patlooptest.c
+++ b/patlooptest.c
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
i = DAHDI_FLUSH_ALL;
if (ioctl(fd,DAHDI_FLUSH,&i) == -1)
{
- perror("tor_flush");
+ perror("DAHDI_FLUSH");
exit(255);
}
if(argc==3){
diff --git a/pattest.c b/pattest.c
index 66dc968..01768a7 100644
--- a/pattest.c
+++ b/pattest.c
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
int errors=0;
int bytes=0;
if (argc < 2) {
- fprintf(stderr, "Usage: markhdlctest <tor device>\n");
+ fprintf(stderr, "Usage: %s <DAHDI device>\n", argv[0]);
exit(1);
}
fd = open(argv[1], O_RDWR, 0600);