diff options
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 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: |
