diff options
Diffstat (limited to 'tests/loggingrb')
-rw-r--r-- | tests/loggingrb/loggingrb_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/loggingrb/loggingrb_test.c b/tests/loggingrb/loggingrb_test.c index ebc0181b..2e2c717b 100644 --- a/tests/loggingrb/loggingrb_test.c +++ b/tests/loggingrb/loggingrb_test.c @@ -73,8 +73,8 @@ int main(int argc, char **argv) DEBUGP(DRLL, "You should see this\n"); DEBUGP(DCC, "You should see this\n"); DEBUGP(DMM, "You should not see this\n"); - fprintf(stderr, log_target_rb_get(ringbuf_target, 0)); - fprintf(stderr, log_target_rb_get(ringbuf_target, 1)); + fprintf(stderr, "%s", log_target_rb_get(ringbuf_target, 0)); + fprintf(stderr, "%s", log_target_rb_get(ringbuf_target, 1)); OSMO_ASSERT(!log_target_rb_get(ringbuf_target, 2)); return 0; |