diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-24 01:09:09 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-24 01:09:09 +0000 |
commit | 308773d10a107734865ad5b2a8051065f22c3472 (patch) | |
tree | 74eff4e3a7b278f76f36d3b063081e5e3f1b2a60 /sbin/pdisk/partition_map.c | |
parent | b4e6c8308a7a7c1043d0495200b549608f604e6f (diff) |
Delete duplicated line that was setting sbBlkCount to 0; Score one
for the 'v' command!
Diffstat (limited to 'sbin/pdisk/partition_map.c')
-rw-r--r-- | sbin/pdisk/partition_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pdisk/partition_map.c b/sbin/pdisk/partition_map.c index 4537b3716e3..ca743cdb1c2 100644 --- a/sbin/pdisk/partition_map.c +++ b/sbin/pdisk/partition_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: partition_map.c,v 1.59 2016/01/23 23:25:58 krw Exp $ */ +/* $OpenBSD: partition_map.c,v 1.60 2016/01/24 01:09:08 krw Exp $ */ /* * partition_map.c - partition map routines @@ -350,7 +350,6 @@ coerce_block0(struct partition_map_header * map) p->sbSig = BLOCK0_SIGNATURE; p->sbBlkSize = map->physical_block; p->sbBlkCount = map->media_size; - p->sbBlkCount = 0; p->sbDevType = 0; p->sbDevId = 0; p->sbData = 0; |