Formerly ../mach/errsystems.awk.~3~
authormib <mib>
Tue, 23 Nov 1993 19:13:49 +0000 (19:13 +0000)
committermib <mib>
Tue, 23 Nov 1993 19:13:49 +0000 (19:13 +0000)
mach/errsystems.awk

index a9b9206..82591ef 100644 (file)
@@ -2,7 +2,7 @@ BEGIN {
   print "#include <mach/error.h>\n#include <errorlib.h>";
   print "#define static static const"
   nsubs = split(subsys, subs);
-  while (nsubs-- > 0) printf "#include \"%s\"\n", subs[nsubs];
+  while (nsubs > 0) printf "#include \"%s\"\n", subs[nsubs--];
   print "\n\n\
 static const struct error_system __mach_error_systems[err_max_system + 1] =";
   print "  {";