summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-09-06 11:02:01 +0200
committerNiels de Vos <ndevos@redhat.com>2017-09-07 09:24:25 +0000
commit6826905213eb7e9bc8728e8269864f066ce0e23a (patch)
treec320f5338ed717e0ed59922ad4088ffdf12cb285 /libglusterfs
parent47188e9eac59de416a5c86c7ec7540ed6aaa1c98 (diff)
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 <misc@redhat.com> Reviewed-on: https://review.gluster.org/18214 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/common-utils.c2
1 files changed, 1 insertions, 1 deletions
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
}