From 35c2a5e8e89abf30d18567198f4421cbdc3ee838 Mon Sep 17 00:00:00 2001 From: miod Date: Sun, 11 Sep 2022 07:38:33 +0000 Subject: [PATCH] Fix build after previous --- usr.sbin/installboot/loongson_installboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/installboot/loongson_installboot.c b/usr.sbin/installboot/loongson_installboot.c index e4ddb6c032b..e91f135a350 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.5 2022/09/09 15:53:16 kn Exp $ */ +/* $OpenBSD: loongson_installboot.c,v 1.6 2022/09/11 07:38:33 miod Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -90,8 +90,8 @@ md_installboot(int devfd, char *dev) part = findmbrfat(devfd, &dl); if (part != -1) { - if (write_filesystem(&dl, (char)part) == -1) - exit(1); + write_filesystem(&dl, (char)part); + return; } } -- 2.20.1