From 37101bb09f6538f6107c67311f66640ce5bc40a2 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Fri, 23 May 2008 16:36:30 +0000 Subject: Couple more zap device reference removals git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4354 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- patlooptest.c | 2 +- timertest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patlooptest.c b/patlooptest.c index e844eaf..66b4936 100644 --- a/patlooptest.c +++ b/patlooptest.c @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) int timeout=0; time_t start_time=0; if (argc < 2 || argc > 3 ) { - fprintf(stderr, "Usage: %s [timeout]\n",argv[0]); + fprintf(stderr, "Usage: %s [timeout]\n",argv[0]); exit(1); } fd = open(argv[1], O_RDWR, 0600); diff --git a/timertest.c b/timertest.c index 480a822..0c0e316 100644 --- a/timertest.c +++ b/timertest.c @@ -18,7 +18,7 @@ int main(int argc, char *argv[]) int res; fd_set fds; struct timeval orig, now; - fd = open("/dev/zap/timer", O_RDWR); + fd = open("/dev/dahdi/timer", O_RDWR); if (fd < 0) { fprintf(stderr, "Unable to open timer: %s\n", strerror(errno)); exit(1); -- cgit v1.2.3