commit | 5e84a869376b9ece9ce385bf9a92ae8ba227b214 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Jul 23 19:22:23 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Jul 23 19:22:23 2010 +0800 |
tree | f8f915483165dd4c21d764578d57d680dedebaa9 | |
parent | b60a4b3b97b0600ce104c0181e1f054e7c15e371 [diff] [blame] |
msgb: Avoid warnings that the string might contain %s or such..
diff --git a/include/osmocore/msgb.h b/include/osmocore/msgb.h index fb4a701..962ba4e 100644 --- a/include/osmocore/msgb.h +++ b/include/osmocore/msgb.h
@@ -65,7 +65,7 @@ #include <stdlib.h> static inline void msgb_abort(struct msgb *msg, const char *text) { - fprintf(stderr, text); + fprintf(stderr, "%s", text); abort(); } #endif