diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-06-02 06:21:11 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-06-02 06:21:11 +0000 |
commit | 42e28cc11c8617423c3dee5c13d84d9036aaa684 (patch) | |
tree | aeec28e0fc3790f7f90fadc1106430ac5b266365 /usr.sbin/installboot | |
parent | ba1efa63aeac2ed2bfec75cb9c55d76e39f6faa3 (diff) |
Rename findmbrlinux() to findmbrfat(). This function was originally
searching for a linux partition type, now it looks for a fat type.
ok kettenis@
Diffstat (limited to 'usr.sbin/installboot')
-rw-r--r-- | usr.sbin/installboot/armv7_installboot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/installboot/armv7_installboot.c b/usr.sbin/installboot/armv7_installboot.c index e36275473db..17fa948b90b 100644 --- a/usr.sbin/installboot/armv7_installboot.c +++ b/usr.sbin/installboot/armv7_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armv7_installboot.c,v 1.1 2016/05/31 18:35:58 kettenis Exp $ */ +/* $OpenBSD: armv7_installboot.c,v 1.2 2016/06/02 06:21:10 jsg Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -54,7 +54,7 @@ #include "installboot.h" static void write_efisystem(struct disklabel *, char); -static int findmbrlinux(int, struct disklabel *); +static int findmbrfat(int, struct disklabel *); void md_init(void) @@ -82,7 +82,7 @@ md_installboot(int devfd, char *dev) if (dl.d_type == 0) warnx("disklabel type unknown"); - part = findmbrlinux(devfd, &dl); + part = findmbrfat(devfd, &dl); if (part != -1) { write_efisystem(&dl, (char)part); return; @@ -226,7 +226,7 @@ rmdir: } int -findmbrlinux(int devfd, struct disklabel *dl) +findmbrfat(int devfd, struct disklabel *dl) { struct dos_partition dp[NDOSPART]; ssize_t len; |