Fix typo in previous

This commit is contained in:
dsl 2003-05-18 07:44:41 +00:00
parent 03a26b2c80
commit 633389164c
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.7 2003/05/07 10:20:20 dsl Exp $ */ /* $NetBSD: md.c,v 1.8 2003/05/18 07:44:41 dsl Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -73,7 +73,7 @@ md_get_info()
if (!valid_mbr(&mbr)) { if (!valid_mbr(&mbr)) {
memset(&mbr.mbr_parts, 0, sizeof mbr.mbr_parts); memset(&mbr.mbr_parts, 0, sizeof mbr.mbr_parts);
/* XXX check result and give up if < 0 */ /* XXX check result and give up if < 0 */
mbr->mbr_signature = MBR_MAGIC; mbr.mbr_signature = MBR_MAGIC;
mbr_len = MBR_SECSIZE; mbr_len = MBR_SECSIZE;
} else } else
mbr_len = MBR_SECSIZE; mbr_len = MBR_SECSIZE;

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.c,v 1.29 2003/05/07 10:20:20 dsl Exp $ */ /* $NetBSD: md.c,v 1.30 2003/05/18 07:48:28 dsl Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -50,7 +50,7 @@
int mbr_present; int mbr_present;
int c1024_resp; int c1024_resp;
mbr_partition_t mbr; mbr_sector_t mbr;
/* prototypes */ /* prototypes */