summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-07-18 16:42:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-07-18 16:42:01 +0000
commit77757ce4ca4bc9cc5efb2ec1df21dbf86172d474 (patch)
treeb8586767c04231aba139d5db4669b51c4c711220 /usr.sbin
parentc5a866409242bf683ad655a4a2a8a614ab8d0084 (diff)
use correct structure for mounting, duh
ok visa kettenis
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/installboot/loongson_installboot.c4
-rw-r--r--usr.sbin/installboot/macppc_installboot.c4
-rw-r--r--usr.sbin/installboot/octeon_installboot.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/installboot/loongson_installboot.c b/usr.sbin/installboot/loongson_installboot.c
index f729ffbbf1c..727f6b2560a 100644
--- a/usr.sbin/installboot/loongson_installboot.c
+++ b/usr.sbin/installboot/loongson_installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loongson_installboot.c,v 1.1 2020/06/27 15:35:29 deraadt Exp $ */
+/* $OpenBSD: loongson_installboot.c,v 1.2 2020/07/18 16:42:00 deraadt Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -95,7 +95,7 @@ write_filesystem(struct disklabel *dl, char part)
{
static char *fsckfmt = "/sbin/fsck_ext2fs %s >/dev/null";
static char *newfsfmt ="/sbin/newfs_ext2fs %s >/dev/null";
- struct ufs_args args;
+ struct ext2fs_args args;
char cmd[60];
char dst[PATH_MAX];
char *src;
diff --git a/usr.sbin/installboot/macppc_installboot.c b/usr.sbin/installboot/macppc_installboot.c
index 80e59548421..c06014aedeb 100644
--- a/usr.sbin/installboot/macppc_installboot.c
+++ b/usr.sbin/installboot/macppc_installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macppc_installboot.c,v 1.1 2020/06/27 15:35:29 deraadt Exp $ */
+/* $OpenBSD: macppc_installboot.c,v 1.2 2020/07/18 16:42:00 deraadt Exp $ */
/*
* Copyright (c) 2011 Joel Sing <jsing@openbsd.org>
@@ -95,7 +95,7 @@ write_filesystem(struct disklabel *dl, char part)
{
static char *fsckfmt = "/sbin/fsck_msdos %s >/dev/null";
static char *newfsfmt ="/sbin/newfs_msdos %s >/dev/null";
- struct ufs_args args;
+ struct msdosfs_args args;
char cmd[60];
char dst[PATH_MAX];
char *src;
diff --git a/usr.sbin/installboot/octeon_installboot.c b/usr.sbin/installboot/octeon_installboot.c
index 91e52159956..1f52627764f 100644
--- a/usr.sbin/installboot/octeon_installboot.c
+++ b/usr.sbin/installboot/octeon_installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octeon_installboot.c,v 1.1 2020/06/27 15:35:29 deraadt Exp $ */
+/* $OpenBSD: octeon_installboot.c,v 1.2 2020/07/18 16:42:00 deraadt Exp $ */
/*
* Copyright (c) 2011 Joel Sing <jsing@openbsd.org>
@@ -95,7 +95,7 @@ write_filesystem(struct disklabel *dl, char part)
{
static char *fsckfmt = "/sbin/fsck_msdos %s >/dev/null";
static char *newfsfmt ="/sbin/newfs_msdos %s >/dev/null";
- struct ufs_args args;
+ struct msdosfs_args args;
char cmd[60];
char dst[PATH_MAX];
char *src;