diff --git a/utils/mxsh.cpp b/utils/mxsh.cpp index ab369d1b..8451c24e 100644 --- a/utils/mxsh.cpp +++ b/utils/mxsh.cpp @@ -44,7 +44,7 @@ void command() if ( commandsize <= commandused && codepoint != '\n' ) { continue; } char msg[2]; msg[0] = codepoint; msg[1] = '\0'; - printf(msg); + printf("%s", msg); if ( codepoint == '\n' ) { command[commandused] = '\0'; break; }