From 6826905213eb7e9bc8728e8269864f066ce0e23a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 6 Sep 2017 11:02:01 +0200 Subject: Fix warning on FreeBSD, show by -Wformat-extra-args The warning is specific to FreeBSD, since both Linux and NetBSD do trigger a different codepath. Change-Id: I3d2b374b6a39804942af076d7e0d130a76f869a2 BUG: 1488808 Signed-off-by: Michael Scherer Reviewed-on: https://review.gluster.org/18214 Smoke: Gluster Build System Reviewed-by: Niels de Vos Tested-by: Niels de Vos CentOS-regression: Gluster Build System --- libglusterfs/src/common-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index 5897aca0b38..327c1fa13db 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -3759,7 +3759,7 @@ gf_thread_create (pthread_t *thread, const pthread_attr_t *attr, #else gf_msg (THIS->name, GF_LOG_WARNING, 0, LG_MSG_PTHREAD_NAMING_FAILED, - "Thread names not implemented on this ", + "Thread names not implemented on this " "platform"); #endif } -- cgit