From 777412c5e8a1e8613061fef31bd8a60d4cd54b6e Mon Sep 17 00:00:00 2001 From: Sheetal Pamecha Date: Thu, 11 Oct 2018 04:00:08 +0530 Subject: libglusterfs: fix log message in options.c This patch fixes https://github.com/gluster/glusterfs/issues/519 Credits: "Fabian Wannenmacher <@wanneut>" Updates: bz#1193929 Change-Id: If8d60c3379093a868ad6ba8c2ad86a4b99d35f2c Signed-off-by: Sheetal Pamecha --- libglusterfs/src/options.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/options.c b/libglusterfs/src/options.c index c95808bcb2..601baf9004 100644 --- a/libglusterfs/src/options.c +++ b/libglusterfs/src/options.c @@ -552,10 +552,8 @@ xlator_option_validate_addr(xlator_t *xl, const char *key, const char *value, char errstr[256]; if (!valid_internet_address((char *)value, _gf_false)) { - snprintf(errstr, 256, - "option %s %s: '%s' is not a valid internet-address," - " it does not conform to standards.", - key, value, value); + snprintf(errstr, 256, "option %s %s: Can not parse %s address", key, + value, value); gf_msg(xl->name, GF_LOG_ERROR, 0, LG_MSG_INVALID_ENTRY, "%s", errstr); if (op_errstr) *op_errstr = gf_strdup(errstr); -- cgit