From add8ef14f39b1db9652bad7db9d50f995d3a8802 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Fri, 23 May 2008 16:32:43 +0000 Subject: Remove remaining references to zap devices and some zaptel references git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4352 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dahdi_test.c') diff --git a/dahdi_test.c b/dahdi_test.c index d3695f8..d80fc0e 100644 --- a/dahdi_test.c +++ b/dahdi_test.c @@ -57,9 +57,9 @@ int main(int argc, char *argv[]) float score; float ms; struct timeval start, now; - fd = open("/dev/zap/pseudo", O_RDWR); + fd = open("/dev/dahdi/pseudo", O_RDWR); if (fd < 0) { - fprintf(stderr, "Unable to open zap interface: %s\n", strerror(errno)); + fprintf(stderr, "Unable to open dahdi interface: %s\n", strerror(errno)); exit(1); } @@ -88,7 +88,7 @@ int main(int argc, char *argv[]) seconds = atoi(argv[curarg + 1]); curarg++; } - printf("Opened pseudo zap interface, measuring accuracy...\n"); + printf("Opened pseudo dahdi interface, measuring accuracy...\n"); signal(SIGHUP, hup_handler); signal(SIGINT, hup_handler); signal(SIGALRM, hup_handler); @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) percent = 100.0 * (count - ms) / count; if (verbose) - printf("\n%d zaptel samples in %0.3f system clock sample intervals (%.3f%%)", + printf("\n%d samples in %0.3f system clock sample intervals (%.3f%%)", count, ms, 100 - percent); else if ((pass % 8) == 7) printf("\n"); score = 100.0 - fabs(percent); -- cgit v1.2.3