diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-17 13:27:09 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-17 13:27:09 +0000 |
commit | 7da86c80049dc38434093b979e6608ec5a46a982 (patch) | |
tree | dfeea9c1fd3650219ace1dd003515b21457ca4f2 /sbin/disklabel/editor.c | |
parent | f980dece8d61ac889f25bcadb8202683e067f14d (diff) |
NUMBOOT is dead! Nuke the variables and abstractions that were used
to build boot blocks.
ok miod@
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index b871302ff51..69bc57b461a 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.297 2015/10/15 19:31:15 miod Exp $ */ +/* $OpenBSD: editor.c,v 1.298 2015/10/17 13:27:08 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -381,7 +381,7 @@ editor(int f) } while (arg && tolower((unsigned char)*arg) != 'y' && tolower((unsigned char)*arg) != 'n'); if (arg && tolower((unsigned char)*arg) == 'y') { - if (writelabel(f, bootarea, &newlab) == 0) { + if (writelabel(f, &newlab) == 0) { newlab = lab; /* lab now has UID info */ goto done; } @@ -467,7 +467,7 @@ editor(int f) } /* Write label to disk. */ - if (writelabel(f, bootarea, &newlab) != 0) + if (writelabel(f, &newlab) != 0) warnx("unable to write label"); else { dflag = aflag = 0; |