1ba3878 Call getpwnam_r() correctly

Authored and Committed by Nalin Dahyabhai 9 years ago
    Call getpwnam_r() correctly
    
    The getpwnam_r() function returns an error directly, and is not
    guaranteed to set errno to the same value.  We previously checked errno
    rather than the result code directly, so fix that.
    
        
file modified
+2 -2