diff options
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_sysi86.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysi86.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/ibcs2/ibcs2_sysi86.c b/sys/i386/ibcs2/ibcs2_sysi86.c index 12d5c4a..8d85bc1 100644 --- a/sys/i386/ibcs2/ibcs2_sysi86.c +++ b/sys/i386/ibcs2/ibcs2_sysi86.c @@ -60,9 +60,10 @@ ibcs2_sysi86(struct thread *td, struct ibcs2_sysi86_args *args) case SI86_FPHW: { /* Floating Point information */ int val, error; - if (hw_float) val = IBCS2_FP_387; /* FPU hardware */ - else val = IBCS2_FP_SW; /* FPU emulator */ - + if (hw_float) + val = IBCS2_FP_387; + else + val = IBCS2_FP_NO; if ((error = copyout(&val, args->arg, sizeof(val))) != 0) return error; return 0; |