diff options
author | 2016-01-28 18:12:51 +0000 | |
---|---|---|
committer | 2016-01-28 18:12:51 +0000 | |
commit | 70bed93c84d7d1070e73608bfd6038ab2b44788b (patch) | |
tree | ebe96fa0d943bb43342f4a8416ccbcbec7846dea | |
parent | Convert to uiomove. Diff from Martin Natano. (diff) | |
download | wireguard-openbsd-70bed93c84d7d1070e73608bfd6038ab2b44788b.tar.xz wireguard-openbsd-70bed93c84d7d1070e73608bfd6038ab2b44788b.zip |
Oops. Deleted one too many lines. Need to advance pointer when traversing
list.
-rw-r--r-- | sbin/pdisk/partition_map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pdisk/partition_map.c b/sbin/pdisk/partition_map.c index a9e0239634b..a812bc3b4b5 100644 --- a/sbin/pdisk/partition_map.c +++ b/sbin/pdisk/partition_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: partition_map.c,v 1.76 2016/01/28 17:17:57 krw Exp $ */ +/* $OpenBSD: partition_map.c,v 1.77 2016/01/28 18:12:51 krw Exp $ */ /* * partition_map.c - partition map routines @@ -389,6 +389,7 @@ add_partition_to_map(const char *name, const char *dptype, uint32_t base, (base + length) <= (cur->dpme->dpme_pblock_start + cur->dpme->dpme_pblocks)) break; + cur = cur->next_by_base; } /* if it is not Extra then punt */ if (cur == NULL || |