summaryrefslogtreecommitdiff
path: root/usr.sbin/installboot
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-09-11 07:38:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-09-11 07:38:34 +0000
commit3a3222a153cd0b9f9439dea81dba9959685a30fe (patch)
treec4096cbda3860217450da6157c3587abdf348d92 /usr.sbin/installboot
parentc91bdb1ada390f8e0cc60a95a39c07e5fa17ad46 (diff)
Fix build after previous
Diffstat (limited to 'usr.sbin/installboot')
-rw-r--r--usr.sbin/installboot/loongson_installboot.c6
1 files 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;
}
}