summaryrefslogtreecommitdiff
path: root/dahdi_test.c
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2008-05-23 16:32:43 +0000
committerMatthew Fredrickson <creslin@digium.com>2008-05-23 16:32:43 +0000
commitadd8ef14f39b1db9652bad7db9d50f995d3a8802 (patch)
tree05110fd820380e08764e4f872d6c8256b49b3869 /dahdi_test.c
parent21308078ee476f5500c5a96acab3f77fc585d5b3 (diff)
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
Diffstat (limited to 'dahdi_test.c')
-rw-r--r--dahdi_test.c8
1 files changed, 4 insertions, 4 deletions
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);