File afio-syserr.dif of Package afio

--- afio.c
+++ afio.c	2004/02/10 17:20:03
@@ -4355,9 +4355,11 @@
 syserr ()
 {
   static char msg[40];
-
+/*
   if (errno > 0 && errno < sys_nerr)
     return ((char *) sys_errlist[errno]);
+*/
+  return strerror(errno);
   VOID sprintf (msg, "Unknown error (errno %d)", errno);
   return (msg);
 }
openSUSE Build Service is sponsored by