summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/stand/ofwboot/boot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/boot.c b/sys/arch/sparc64/stand/ofwboot/boot.c
index 5bb8230a75f..bbda2f8e456 100644
--- a/sys/arch/sparc64/stand/ofwboot/boot.c
+++ b/sys/arch/sparc64/stand/ofwboot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.10 2003/06/10 02:42:58 brad Exp $ */
+/* $OpenBSD: boot.c,v 1.11 2004/01/03 21:17:43 pvalchev Exp $ */
/* $NetBSD: boot.c,v 1.3 2001/05/31 08:55:19 mrg Exp $ */
/*
* Copyright (c) 1997, 1999 Eduardo E. Horvath. All rights reserved.
@@ -280,7 +280,7 @@ loadfile(fd, args)
#include "elfXX_exec.c"
#endif /* SPARC_BOOT_ELF */
-void
+int
main()
{
extern char version[];
@@ -380,4 +380,5 @@ main()
#endif
(void)loadfile(fd, bootline);
}
+ return 0;
}