[Bugs] [Bug 1454701] New: Pass errno as an argument to gf_msg

bugzilla at redhat.com bugzilla at redhat.com
Tue May 23 11:13:30 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1454701

            Bug ID: 1454701
           Summary: Pass errno as an argument to gf_msg
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org



Description of problem:
Several calls to gf_msg in the dht-rebalance.c file do not pass the errno as an
argument to the gf_msg call. Instead strerror(errno) becomes part of the
message.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

The errno (where available) should be passed as an arg to gf_msg which will
automatically print the err string.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list