diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-11-16 17:46:18 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-11-16 17:46:18 +0000 |
commit | a45f2b1de28843e9f690da155d3b04cdee79c852 (patch) | |
tree | 819235681b4447cac3b5c5ebae3d2a25e3feec33 | |
parent | 9ae5f940d35c066807c8d19944755001cd1a6494 (diff) |
Fix usage strings and eliminate all traces of tor
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5308 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | hdlcstress.c | 2 | ||||
-rw-r--r-- | hdlctest.c | 2 | ||||
-rw-r--r-- | patgen.c | 2 | ||||
-rw-r--r-- | patlooptest.c | 2 | ||||
-rw-r--r-- | pattest.c | 2 |
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); @@ -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); @@ -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){ @@ -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); |