diff options
Diffstat (limited to 'libglusterfs/src/syncop.c')
| -rw-r--r-- | libglusterfs/src/syncop.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c index 695f04b2a31..f56a21d11b9 100644 --- a/libglusterfs/src/syncop.c +++ b/libglusterfs/src/syncop.c @@ -337,8 +337,7 @@ synctask_yield (struct synctask *task)          }          if (swapcontext (&task->ctx, &task->proc->sched) < 0) {                  gf_msg ("syncop", GF_LOG_ERROR, errno, -                        LG_MSG_SWAPCONTEXT_FAILED, "swapcontext failed (%s)", -                        strerror (errno)); +                        LG_MSG_SWAPCONTEXT_FAILED, "swapcontext failed");          }          THIS = oldTHIS; @@ -490,8 +489,7 @@ synctask_create (struct syncenv *env, synctask_fn_t fn, synctask_cbk_t cbk,          if (getcontext (&newtask->ctx) < 0) {                  gf_msg ("syncop", GF_LOG_ERROR, errno, -                        LG_MSG_GETCONTEXT_FAILED, "getcontext failed (%s)", -                        strerror (errno)); +                        LG_MSG_GETCONTEXT_FAILED, "getcontext failed");                  goto err;          }  | 
