summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/installboot/bootstrap.c')
-rw-r--r--usr.sbin/installboot/bootstrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/installboot/bootstrap.c b/usr.sbin/installboot/bootstrap.c
index af2a4812069..0df2145b48b 100644
--- a/usr.sbin/installboot/bootstrap.c
+++ b/usr.sbin/installboot/bootstrap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootstrap.c,v 1.9 2015/12/28 23:00:29 krw Exp $ */
+/* $OpenBSD: bootstrap.c,v 1.10 2018/09/01 16:55:29 krw Exp $ */
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
@@ -32,7 +32,7 @@
#include "installboot.h"
void
-bootstrap(int devfd, char *dev, char *bootfile, unsigned int overlap_allowance)
+bootstrap(int devfd, char *dev, char *bootfile)
{
struct disklabel dl;
struct disklabel *lp;
@@ -92,7 +92,7 @@ bootstrap(int devfd, char *dev, char *bootfile, unsigned int overlap_allowance)
continue;
if (DL_GETPSIZE(pp) == 0)
continue;
- if ((u_int64_t)bootsec <= DL_GETPOFFSET(pp) + overlap_allowance)
+ if ((u_int64_t)bootsec <= DL_GETPOFFSET(pp))
continue;
switch (pp->p_fstype) {
case FS_BOOT: