summaryrefslogtreecommitdiff
path: root/dahdi_diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'dahdi_diag.c')
-rw-r--r--dahdi_diag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dahdi_diag.c b/dahdi_diag.c
index 1b5b105..2fd56d7 100644
--- a/dahdi_diag.c
+++ b/dahdi_diag.c
@@ -14,9 +14,9 @@ int main(int argc, char *argv[])
fprintf(stderr, "Usage: ztdiag <channel>\n");
exit(1);
}
- fd = open("/dev/zap/ctl", O_RDWR);
+ fd = open("/dev/dahdi/ctl", O_RDWR);
if (fd < 0) {
- perror("open(/dev/zap/ctl");
+ perror("open(/dev/dahdi/ctl");
exit(1);
}
if (ioctl(fd, DAHDI_CHANDIAG, &chan)) {