summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-08-04 16:09:01 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-08-04 16:09:01 +0000
commitacd2d86fbe4096cbf22e3a0c94e57708294ebb93 (patch)
treebdacaf81f9e3faa7f6c1058f4bd0a74a188953eb
parent276362a22169559e7dd93d0477826bc733726224 (diff)
Oops. Missing chunk from previous 'secs' -> 'ui'.
-rw-r--r--sbin/disklabel/editor.c4
1 files 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 <Todd.Miller@courtesan.com>
@@ -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) {