diff options
Diffstat (limited to 'libglusterfs/src/fd.c')
| -rw-r--r-- | libglusterfs/src/fd.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/libglusterfs/src/fd.c b/libglusterfs/src/fd.c index 85334bbf014..ea74d03b0a9 100644 --- a/libglusterfs/src/fd.c +++ b/libglusterfs/src/fd.c @@ -286,10 +286,9 @@ gf_fd_unused_get (fdtable_t *fdtable, fd_t *fdptr)                          error = gf_fd_fdtable_expand (fdtable,                                                        fdtable->max_fds + 1);                          if (error) { -                                gf_msg ("fd", GF_LOG_ERROR, 0, +                                gf_msg ("fd", GF_LOG_ERROR, error,                                          LG_MSG_EXPAND_FD_TABLE_FAILED, -                                        "Cannot expand fdtable: %s", -                                        strerror (error)); +                                        "Cannot expand fdtable");                                  goto out;                          }                          ++alloc_attempts;  | 
