aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2018-04-16 09:07:23 -0700
committerJason Evans <jasone@canonware.com>2018-04-16 11:07:51 -0700
commit2a80d6f15b18de2ef17b310e995af366cc20034c (patch)
treebf08d489ee315380dfeafd5dbbe4de6140fce6ba /include
parent3f0dc64c6b8c1fd77c819028013dacbc6d2ad6b6 (diff)
downloadplatform_external_jemalloc_new-2a80d6f15b18de2ef17b310e995af366cc20034c.tar.gz
platform_external_jemalloc_new-2a80d6f15b18de2ef17b310e995af366cc20034c.tar.bz2
platform_external_jemalloc_new-2a80d6f15b18de2ef17b310e995af366cc20034c.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/emitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/emitter.h b/include/jemalloc/internal/emitter.h
index 830d0f24..3a2b2f7f 100644
--- a/include/jemalloc/internal/emitter.h
+++ b/include/jemalloc/internal/emitter.h
@@ -247,7 +247,7 @@ emitter_begin(emitter_t *emitter) {
emitter_nest_inc(emitter);
} else {
// tabular init
- emitter_printf(emitter, "");
+ emitter_printf(emitter, "%s", "");
}
}