From 1e0644031c7ac0fa28f0912e951a9238f7bbe8ab Mon Sep 17 00:00:00 2001 From: Manikandan Selvaganesh Date: Wed, 12 Aug 2015 14:46:29 +0530 Subject: libgfapi : port missing gf_log's to gf_msg Change-Id: I0c5320c09b4a5ff1e9df61a86ac7bd47c1bb1bbb BUG: 1252807 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/11891 Tested-by: NetBSD Build System Reviewed-by: Raghavendra Talur Reviewed-by: jiffin tony Thottan Reviewed-by: Humble Devassy Chirammal Reviewed-by: Raghavendra G --- api/src/glfs-handleops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api/src/glfs-handleops.c') diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index 79085ff33a1..0f201a2b99d 100644 --- a/api/src/glfs-handleops.c +++ b/api/src/glfs-handleops.c @@ -1938,10 +1938,10 @@ pub_glfs_h_poll_upcall (struct glfs *fs, struct callback_arg *up_arg) * * Applications will ignore this notification * as up_arg->object will be NULL */ - gf_log (subvol->name, GF_LOG_WARNING, - "handle creation of %s failed: %s", - uuid_utoa (upcall_data->gfid), - strerror (errno)); + gf_msg (subvol->name, GF_LOG_WARNING, errno, + API_MSG_CREATE_HANDLE_FAILED, + "handle creation of %s failed", + uuid_utoa (upcall_data->gfid)); reason = GFAPI_CBK_EVENT_NULL; break; -- cgit