summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther2010-07-23 13:22:23 +0200
committerHolger Hans Peter Freyther2010-07-23 13:22:23 +0200
commit5e84a869376b9ece9ce385bf9a92ae8ba227b214 (patch)
treef8f915483165dd4c21d764578d57d680dedebaa9
parentgsm0808: Why should there be a lchan in the parameter... (diff)
downloadlibosmocore-5e84a869376b9ece9ce385bf9a92ae8ba227b214.tar.gz
libosmocore-5e84a869376b9ece9ce385bf9a92ae8ba227b214.tar.xz
libosmocore-5e84a869376b9ece9ce385bf9a92ae8ba227b214.zip
msgb: Avoid warnings that the string might contain %s or such..
-rw-r--r--include/osmocore/msgb.h2
1 files changed, 1 insertions, 1 deletions
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 @@ extern void msgb_reset(struct msgb *m);
#include <stdlib.h>
static inline void msgb_abort(struct msgb *msg, const char *text)
{
- fprintf(stderr, text);
+ fprintf(stderr, "%s", text);
abort();
}
#endif