Skip to content

Commit 2a80d6f

Browse files
committed
Avoid a printf format specifier warning.
This dodges a warning emitted by the FreeBSD system gcc when compiling libc for architectures which don't use clang as the system compiler.
1 parent 3f0dc64 commit 2a80d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/jemalloc/internal/emitter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ emitter_begin(emitter_t *emitter) {
247247
emitter_nest_inc(emitter);
248248
} else {
249249
// tabular init
250-
emitter_printf(emitter, "");
250+
emitter_printf(emitter, "%s", "");
251251
}
252252
}
253253

0 commit comments

Comments
 (0)