diff options
author | nate <nate@FreeBSD.org> | 1996-06-08 17:12:45 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-06-08 17:12:45 +0000 |
commit | 6f17f90cd60ae1ed4bf1e5a24833a04ce13a749c (patch) | |
tree | f506b3fbeb3e25ea0540162ca0a20c6868e222a1 /sys/i386 | |
parent | cb6ab7f49330fefcb74bd6d9944bc4526e5fc148 (diff) | |
download | FreeBSD-src-6f17f90cd60ae1ed4bf1e5a24833a04ce13a749c.zip FreeBSD-src-6f17f90cd60ae1ed4bf1e5a24833a04ce13a749c.tar.gz |
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.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysi86.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_sysi86.c b/sys/i386/ibcs2/ibcs2_sysi86.c index f10f0f9..694dfbe 100644 --- a/sys/i386/ibcs2/ibcs2_sysi86.c +++ b/sys/i386/ibcs2/ibcs2_sysi86.c @@ -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; } } |