summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/installboot.h
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-10-12 20:52:20 +0000
committerkrw <krw@openbsd.org>2015-10-12 20:52:20 +0000
commit2e8b15db5da0980fffbe98c0a2a3626c3e921021 (patch)
tree447b64b3cf7f13f7bced9e28fe2aa0e2f572416c /usr.sbin/installboot/installboot.h
parentadd Date header when a session iniated locally doesn't add one (diff)
downloadwireguard-openbsd-2e8b15db5da0980fffbe98c0a2a3626c3e921021.tar.xz
wireguard-openbsd-2e8b15db5da0980fffbe98c0a2a3626c3e921021.zip
Check that the disk specified on the command line is the disk that
files are copied to. Error out with 'cross-device install' if not. ok millert@, ok deraadt@ & jsing@ for previous version
Diffstat (limited to 'usr.sbin/installboot/installboot.h')
-rw-r--r--usr.sbin/installboot/installboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/installboot/installboot.h b/usr.sbin/installboot/installboot.h
index af23ea5f55c..5c9ad69c326 100644
--- a/usr.sbin/installboot/installboot.h
+++ b/usr.sbin/installboot/installboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.h,v 1.5 2015/10/08 14:50:38 krw Exp $ */
+/* $OpenBSD: installboot.h,v 1.6 2015/10/12 20:52:20 krw Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
*
@@ -18,6 +18,8 @@
extern int nowrite;
extern int stages;
extern int verbose;
+extern int dstblkunit;
+extern int dstblkmajor;
extern char *root;
extern char *stage1;