summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp/wct4xxp-diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wct4xxp/wct4xxp-diag.c')
-rw-r--r--drivers/dahdi/wct4xxp/wct4xxp-diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wct4xxp/wct4xxp-diag.c b/drivers/dahdi/wct4xxp/wct4xxp-diag.c
index 3616f17..2019066 100644
--- a/drivers/dahdi/wct4xxp/wct4xxp-diag.c
+++ b/drivers/dahdi/wct4xxp/wct4xxp-diag.c
@@ -379,7 +379,7 @@ int main(int argc, char *argv[])
exit(1);
}
if (*(argv[1]) == '/')
- zap_copy_string(fn, argv[1], sizeof(fn));
+ dahdi_copy_string(fn, argv[1], sizeof(fn));
else
snprintf(fn, sizeof(fn), "/dev/zap/%d", atoi(argv[1]));
fd = open(fn, O_RDWR);