diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-03-02 12:50:00 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-03-02 12:50:00 +0000 |
commit | 3598f696a0650a3d91081b0fc589a6c3972d9242 (patch) | |
tree | ead2a4b4d10b8fa543ffcbf0c5f9b1aa822b5f7a /sbin/disklabel | |
parent | deb86a02dbe098e014655bb6ccbd0d071f164e44 (diff) |
Tweak a couple of long lines.
Diffstat (limited to 'sbin/disklabel')
-rw-r--r-- | sbin/disklabel/editor.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index cedb758948f..5ec32ff6a82 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.319 2018/03/02 12:33:26 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.320 2018/03/02 12:49:59 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -567,7 +567,8 @@ again: /* bump max swap based on phys mem, little physmem gets 2x swap */ if (index == 0 && alloc_table == alloc_table_default) { if (physmem / DEV_BSIZE < MEG(256)) - alloc[1].minsz = alloc[1].maxsz = 2 * (physmem / DEV_BSIZE); + alloc[1].minsz = alloc[1].maxsz = 2 * (physmem / + DEV_BSIZE); else alloc[1].maxsz += (physmem / DEV_BSIZE); /* bump max /var to make room for 2 crash dumps */ @@ -725,8 +726,8 @@ editor_resize(struct disklabel *lp, char *p) return; } secs = getuint64(lp, "[+|-]new size (with unit)", - "new size or amount to grow (+) or shrink (-) partition including unit", - sz, sz + editor_countfree(lp), 0, DO_CONVERSIONS); + "new size or amount to grow (+) or shrink (-) partition including " + "unit", sz, sz + editor_countfree(lp), 0, DO_CONVERSIONS); if (secs == ULLONG_MAX - 1) { fputs("Command aborted\n", stderr); |