diff options
author | archie <archie@FreeBSD.org> | 1998-12-04 21:28:39 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-04 21:28:39 +0000 |
commit | b6602536a2f73fff5be865dec3af01cfb8fd089b (patch) | |
tree | 9a12fbec953dee0d5e9269407fb6866982d1e5ec /sys/i386 | |
parent | 73e166a95ea81683c47390cee076997b06c033ee (diff) | |
download | FreeBSD-src-b6602536a2f73fff5be865dec3af01cfb8fd089b.zip FreeBSD-src-b6602536a2f73fff5be865dec3af01cfb8fd089b.tar.gz |
Fix typo: "==" should have been "="
PR: 8280 (1/3 patches contained in this PR)
Reviewed by: Nate Williams <nate@mt.sri.com>
Submitted by: Sakari Jalovaara <sja@tekla.fi>
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/apm/apm.c | 4 | ||||
-rw-r--r-- | sys/i386/bios/apm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index ffe4b0a..a851d3d 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.74 1998/09/28 03:41:12 jlemon Exp $ + * $Id: apm.c,v 1.75 1998/10/30 05:41:13 msmith Exp $ */ #include "opt_devfs.h" @@ -795,7 +795,7 @@ apmattach(struct isa_device *dvp) sc->ds_base = (apm_ds_base << 4) + APM_KERNBASE; sc->cs32_limit = apm_cs32_limit - 1; if (apm_cs16_limit == 0) - apm_cs16_limit == apm_cs32_limit; + apm_cs16_limit = apm_cs32_limit; sc->cs16_limit = apm_cs16_limit - 1; sc->ds_limit = apm_ds_limit - 1; sc->cs_entry = apm_cs_entry; diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index ffe4b0a..a851d3d 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -15,7 +15,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.74 1998/09/28 03:41:12 jlemon Exp $ + * $Id: apm.c,v 1.75 1998/10/30 05:41:13 msmith Exp $ */ #include "opt_devfs.h" @@ -795,7 +795,7 @@ apmattach(struct isa_device *dvp) sc->ds_base = (apm_ds_base << 4) + APM_KERNBASE; sc->cs32_limit = apm_cs32_limit - 1; if (apm_cs16_limit == 0) - apm_cs16_limit == apm_cs32_limit; + apm_cs16_limit = apm_cs32_limit; sc->cs16_limit = apm_cs16_limit - 1; sc->ds_limit = apm_ds_limit - 1; sc->cs_entry = apm_cs_entry; |