In those cases errno was not set, so we would be logging some unrelated error or "Success". (cherry picked from commit 35bca925)