#include <stdio.h>
#include <string.h>
#include <mach/error.h>
-
+#include <mach/errorlib.h>
/* Return a string describing the errno code in ERRNUM. */
char *
if (code >= es->subsystem[sub].max_code)
{
sprintf (buf, "Unknown error %d in system %d subsystem %d",
- code, system, subsystem);
+ code, system, sub);
return buf;
}