aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 fb4a7013..962ba4e0 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