aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/core/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c
index 1f04a11..b4a520d 100644
--- a/src/lib/core/utils.c
+++ b/src/lib/core/utils.c
@@ -461,7 +461,6 @@ void msg(unsigned type, char *fmt, ...) {
fprintf(stream, "%s", STASIS_COLOR_GREEN);
safe_strncpy(status, " ", sizeof(status));
}
- status[sizeof(status) - 1] = '\0';
if (type & STASIS_MSG_L1) {
snprintf(header, sizeof(header), "==>%s" STASIS_COLOR_RESET STASIS_COLOR_WHITE, status);