diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-28 19:16:07 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-28 19:16:07 +0000 |
commit | 76687cb97896b96726e13b68c547c3a0779d8097 (patch) | |
tree | 30fe122e383dcf191e121ff257317ab1970f1578 /sys | |
parent | a7c5aeb47fcaf01087c88cf908a3acf6b028677a (diff) |
proper bang placement
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/bios.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 0cb3e6c251f..71770437eda 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.41 2001/02/28 18:37:14 mickey Exp $ */ +/* $OpenBSD: bios.c,v 1.42 2001/02/28 19:16:06 mickey Exp $ */ /* * Copyright (c) 1997-2001 Michael Shalayeff @@ -237,13 +237,16 @@ biosattach(parent, self, aux) for (cksum = 0, i = len; i--; cksum += va[i]) ; +#ifdef __stinkpad_sucks__ if (cksum != 0) - printf("!"); /* stinking x20 again */ + continue; +#endif if (!str) printf("%s: ROM list:", str = sc->sc_dev.dv_xname); - printf(" 0x%05x/0x%x", off, len); + printf(" 0x%05x/0x%x%s", off, len, + cksum? "!" : ""); if ((i = extent_alloc_region(iomem_ex, (paddr_t)off, len, EX_NOWAIT))) |