8075820 Fix checking of errno

Authored and Committed by Nalin Dahyabhai 10 years ago
    Fix checking of errno
    
    Don't overwrite the saved value of errno that we wanted to preserve.
    Found by static analysis.
    
        
file modified
+3 -3