From ce0ca44b639ef12f80eebecdfed6e017788289db Mon Sep 17 00:00:00 2001 From: krw Date: Sat, 4 Aug 2018 16:09:00 +0000 Subject: [PATCH] Oops. Missing chunk from previous 'secs' -> 'ui'. --- sbin/disklabel/editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 16230623966..79a7d737681 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.342 2018/08/04 15:36:41 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.343 2018/08/04 16:09:00 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -752,7 +752,7 @@ editor_resize(struct disklabel *lp, char *p) if (lp->d_secpercyl & D_VENDOR) { u_int64_t cylsecs; cylsecs = lp->d_secpercyl; - secs = ((secs + cylsecs - 1) / cylsecs) * cylsecs; + ui = ((ui + cylsecs - 1) / cylsecs) * cylsecs; } #endif if (DL_GETPOFFSET(pp) + ui > ending_sector) { -- 2.20.1