Change the 'sysi86()' function not implemented' printf to be called only

when compiled with -DDIAGNOSTIC.  Almost all significant SCO binaries
I've run call an unsupported function and run correctly.  Given that
they aren't needed, the messages only clutter up the logfiles and
console.
This commit is contained in:
Nate Williams 1996-06-08 17:12:45 +00:00
parent 1f16ebd9a2
commit 32d18afb14

View File

@ -88,8 +88,10 @@ ibcs2_sysi86(struct proc *p, struct ibcs2_sysi86_args *args, int *retval)
return 0;
default:
#ifdef DIAGNOSTIC
printf("IBCS2: 'sysi86' function %d(0x%x) "
"not implemented yet\n", SCARG(args, cmd), args->cmd);
#endif
return EINVAL;
}
}