artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361a3fe
)
Fix build after previous
author
miod
<miod@openbsd.org>
Sun, 11 Sep 2022 07:38:33 +0000
(07:38 +0000)
committer
miod
<miod@openbsd.org>
Sun, 11 Sep 2022 07:38:33 +0000
(07:38 +0000)
usr.sbin/installboot/loongson_installboot.c
patch
|
blob
|
history
diff --git
a/usr.sbin/installboot/loongson_installboot.c
b/usr.sbin/installboot/loongson_installboot.c
index
e4ddb6c
..
e91f135
100644
(file)
--- 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
;
}
}