summaryrefslogtreecommitdiff
path: root/dahdi_monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'dahdi_monitor.c')
-rw-r--r--dahdi_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dahdi_monitor.c b/dahdi_monitor.c
index 3d7f14c..04597d4 100644
--- a/dahdi_monitor.c
+++ b/dahdi_monitor.c
@@ -162,10 +162,10 @@ void draw_barheader()
memset(bar + barlen + 2, '>', 1);
memset(bar + barlen + 3, '\0', 1);
- strncpy(bar + (barlen / 2), "(RX)", 4);
+ memcpy(bar + (barlen / 2), "(RX)", 4);
printf("%s", bar);
- strncpy(bar + (barlen / 2), "(TX)", 4);
+ memcpy(bar + (barlen / 2), "(TX)", 4);
printf(" %s\n", bar);
}