Skip to content
Permalink
Browse files

Murmur: pass a format string to syslog(3).

  • Loading branch information...
mkrautz committed Jul 18, 2014
1 parent 30023c5 commit 322ed8a16781ff4e103fdee0711b9673831fc29c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/murmur/main.cpp
@@ -83,7 +83,7 @@ static void murmurMessageOutputQString(QtMsgType type, const QString &msg) {
level = LOG_ALERT;
break;
}
syslog(level, qPrintable(msg));
syslog(level, "%s", qPrintable(msg));
return;
}
#endif

0 comments on commit 322ed8a

Please sign in to comment.
You can’t perform that action at this time.