diff options
Diffstat (limited to 'drivers/dahdi/wct4xxp/wct4xxp-diag.c')
-rw-r--r-- | drivers/dahdi/wct4xxp/wct4xxp-diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wct4xxp/wct4xxp-diag.c b/drivers/dahdi/wct4xxp/wct4xxp-diag.c index 9e81c23..6554193 100644 --- a/drivers/dahdi/wct4xxp/wct4xxp-diag.c +++ b/drivers/dahdi/wct4xxp/wct4xxp-diag.c @@ -393,7 +393,7 @@ int main(int argc, char *argv[]) if (*(argv[1]) == '/') dahdi_copy_string(fn, argv[1], sizeof(fn)); else - snprintf(fn, sizeof(fn), "/dev/zap/%d", atoi(argv[1])); + snprintf(fn, sizeof(fn), "/dev/dahdi/%d", atoi(argv[1])); fd = open(fn, O_RDWR); if (fd <0) { fprintf(stderr, "Unable to open '%s': %s\n", fn, strerror(errno)); |