@@ -102,10 +102,13 @@ OFString *ret; #ifdef HAVE_STRERROR_R char buffer[256]; #endif + if (errNo == 0) + return @"Unknown error"; + #ifdef OF_WINDOWS /* * These were translated from WSAE* errors to errno and thus Win32's * strerror_r() does not know about them. *