From: miod Date: Sun, 11 Sep 2022 07:38:33 +0000 (+0000) Subject: Fix build after previous X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=35c2a5e8e89abf30d18567198f4421cbdc3ee838;p=openbsd Fix build after previous --- 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; } }