diff options
author | Mohamed Ashiq <ashiq333@gmail.com> | 2015-05-19 15:53:19 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-06-25 01:50:53 -0700 |
commit | a1e32fbcfbfaf6e4c63e140b3b90a80dc748a269 (patch) | |
tree | 5eb99dd6e79798d8549bca070fd1f243029a5aaa /libglusterfs/src/call-stub.c | |
parent | 9df8366174d57e3cd948d19efa9cdbadecfc012d (diff) |
call-stub,circ-buff,client_t,compat,dict/libglusterfs : Porting to a new logging framework
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>
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r-- | libglusterfs/src/call-stub.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c index 911ea334909..610277820d6 100644 --- a/libglusterfs/src/call-stub.c +++ b/libglusterfs/src/call-stub.c @@ -13,7 +13,7 @@ #include "call-stub.h" #include "mem-types.h" - +#include "libglusterfs-messages.h" static call_stub_t * stub_new (call_frame_t *frame, @@ -2280,9 +2280,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: @@ -2490,9 +2490,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: |