diff options
-rw-r--r-- | sys/arch/i386/i386/bios.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 6a45cbaaf45..385b1fb5175 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.16 1997/10/25 07:01:36 niklas Exp $ */ +/* $OpenBSD: bios.c,v 1.17 1997/10/25 08:45:53 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -330,8 +330,7 @@ bios_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) return EOPNOTSUPP; if ((pdi = bios_getdiskinfo(name[1])) == NULL) return ENXIO; - return sysctl_rdstruct(oldp, oldlenp, newp, - pdi, sizeof(*bios_diskinfo)); + return sysctl_rdstruct(oldp, oldlenp, newp, pdi, sizeof(*pdi)); case BIOS_CNVMEM: return sysctl_rdint(oldp, oldlenp, newp, cnvmem); case BIOS_EXTMEM: |