summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/call-stub.c
diff options
context:
space:
mode:
authorMohamed Ashiq <ashiq333@gmail.com>2015-05-19 15:53:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-07-09 00:11:04 -0700
commitfe68152df36f6a6529a465c0ea25568fd557a901 (patch)
treebc7ec21e44ddd735573e290e444194068405ec45 /libglusterfs/src/call-stub.c
parent8c20f8bd0be0a797f57a5e68473d857357a16f9e (diff)
call-stub,circ-buff,client_t,compat,dict/libglusterfs : Porting to a new logging framework
Backport of http://review.gluster.org/10828 Cherry picked from a1e32fbcfbfaf6e4c63e140b3b90a80dc748a269 >Change-Id: Ie7d180e0ab2fed1270d66504606d1b2522884020 >BUG: 1194640 >Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> >Reviewed-on: http://review.gluster.org/10828 >Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Tested-by: Gluster Build System <jenkins@build.gluster.com> >Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Change-Id: Ie7d180e0ab2fed1270d66504606d1b2522884020 BUG: 1217722 Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> Reviewed-on: http://review.gluster.org/11406 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r--libglusterfs/src/call-stub.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index 128dcf9e15f..f3c309520a4 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -18,7 +18,7 @@
#include "call-stub.h"
#include "mem-types.h"
-
+#include "libglusterfs-messages.h"
static call_stub_t *
stub_new (call_frame_t *frame,
@@ -2285,9 +2285,9 @@ call_resume_wind (call_stub_t *stub)
break;
default:
- gf_log_callingfn ("call-stub", GF_LOG_ERROR,
- "Invalid value of FOP (%d)",
- stub->fop);
+ gf_msg_callingfn ("call-stub", GF_LOG_ERROR, EINVAL,
+ LG_MSG_INVALID_ENTRY, "Invalid value of FOP"
+ " (%d)", stub->fop);
break;
}
out:
@@ -2495,9 +2495,9 @@ call_resume_unwind (call_stub_t *stub)
break;
default:
- gf_log_callingfn ("call-stub", GF_LOG_ERROR,
- "Invalid value of FOP (%d)",
- stub->fop);
+ gf_msg_callingfn ("call-stub", GF_LOG_ERROR, EINVAL,
+ LG_MSG_INVALID_ENTRY, "Invalid value of FOP"
+ " (%d)", stub->fop);
break;
}
out: