diff options
Diffstat (limited to 'ztmonitor.c')
-rw-r--r-- | ztmonitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ztmonitor.c b/ztmonitor.c index f3f2a87..adfd6bb 100644 --- a/ztmonitor.c +++ b/ztmonitor.c @@ -155,10 +155,10 @@ void draw_barheader() memset(bar+barlen+2, '>', 1); memset(bar+barlen+3, '\0', 1); - strncpy(bar+(barlen/2), "(RX)", 4); + zap_copy_string(bar+(barlen/2), "(RX)", 4); printf("%s", bar); - strncpy(bar+(barlen/2), "(TX)", 4); + zap_copy_string(bar+(barlen/2), "(TX)", 4); printf(" %s\n", bar); } |