diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-12-20 18:04:35 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-12-20 18:04:35 +0000 |
commit | 024286170ac9d3c05d89d80082664b81c61fa4b6 (patch) | |
tree | b95f8346149065da06741c41f5f2c988a5e2b34f /usr.sbin/installboot/i386_installboot.c | |
parent | 7ca5eca1186fff3caa06364aec31507478a8213a (diff) |
Remove unnecessary options:
- in fsck_msdos, '-f' option is a no-op
- newfs_msdos does not need '-t msdos'
OK krw@
Diffstat (limited to 'usr.sbin/installboot/i386_installboot.c')
-rw-r--r-- | usr.sbin/installboot/i386_installboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/installboot/i386_installboot.c b/usr.sbin/installboot/i386_installboot.c index 8c9bb2640dc..8d1cf1302e5 100644 --- a/usr.sbin/installboot/i386_installboot.c +++ b/usr.sbin/installboot/i386_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_installboot.c,v 1.21 2015/12/10 18:40:46 mmcc Exp $ */ +/* $OpenBSD: i386_installboot.c,v 1.22 2015/12/20 18:04:34 rpe Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -220,8 +220,8 @@ write_bootblocks(int devfd, char *dev, struct disklabel *dl) void write_efisystem(struct disklabel *dl, char part) { - static char *fsckfmt = "/sbin/fsck_msdos -f %s >/dev/null"; - static char *newfsfmt ="/sbin/newfs_msdos -t msdos %s >/dev/null"; + static char *fsckfmt = "/sbin/fsck_msdos %s >/dev/null"; + static char *newfsfmt ="/sbin/newfs_msdos %s >/dev/null"; struct msdosfs_args args; char cmd[60]; char dst[50]; /* /tmp/installboot.XXXXXXXXXX/efi/BOOT/BOOTIA32.EFI */ |