From 65169f0c1c77c5cf72b7560586abefa3ca396ba3 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 2 Jun 2016 06:21:10 +0000 Subject: Rename findmbrlinux() to findmbrfat(). This function was originally searching for a linux partition type, now it looks for a fat type. ok kettenis@ --- usr.sbin/installboot/armv7_installboot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/installboot') 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; -- cgit v1.2.3-59-g8ed1b