diff options
Diffstat (limited to 'kernel/wct4xxp/base.c')
-rw-r--r-- | kernel/wct4xxp/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wct4xxp/base.c b/kernel/wct4xxp/base.c index 0b4a2d9..13fc2ae 100644 --- a/kernel/wct4xxp/base.c +++ b/kernel/wct4xxp/base.c @@ -1535,7 +1535,7 @@ static void init_spans(struct t4 *wc) snprintf(ts->span.desc, sizeof(ts->span.desc) - 1, "T%dXXP (PCI) Card %d Span %d", wc->numspans, wc->num, x+1); ts->span.manufacturer = "Digium"; - strncpy(ts->span.devicetype, wc->variety, sizeof(ts->span.devicetype) - 1); + zap_copy_string(ts->span.devicetype, wc->variety, sizeof(ts->span.devicetype)); if (wc->vpm == T4_VPM_PRESENT) { if (!wc->vpm450m) strncat(ts->span.devicetype, " with VPM400M", sizeof(ts->span.devicetype) - 1); |