diff options
-rw-r--r-- | sbin/bsdlabel/bsdlabel.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index 445fd1c..92e78d2 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -619,13 +619,6 @@ makebootarea(void *boot, struct disklabel *dp, int f) } (void)close(b); - /* - * Make sure no part of the bootstrap is written in the area - * reserved for the label. - */ - for (p = (char *)lp; p < (char *)lp + sizeof(struct disklabel); p++) - if (*p) - errx(2, "bootstrap doesn't leave room for disk label"); return (lp); } |