summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-handleops.c
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-08-12 14:46:29 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-08-31 02:45:27 -0700
commit1e0644031c7ac0fa28f0912e951a9238f7bbe8ab (patch)
treef7c2f6f3cd5e89e67742f315a6abb18e8efcf07f /api/src/glfs-handleops.c
parentb9c730f3960efd454c8363ee39dc144e4c0dc835 (diff)
libgfapi : port missing gf_log's to gf_msg
Change-Id: I0c5320c09b4a5ff1e9df61a86ac7bd47c1bb1bbb BUG: 1252807 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/11891 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'api/src/glfs-handleops.c')
-rw-r--r--api/src/glfs-handleops.c8
1 files changed, 4 insertions, 4 deletions
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;