summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/stand/boot/boot.c10
-rw-r--r--sys/arch/sgi/stand/libsa32/heap.h0
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/sgi/stand/boot/boot.c b/sys/arch/sgi/stand/boot/boot.c
index b1543181ed3..6d488d1bd2b 100644
--- a/sys/arch/sgi/stand/boot/boot.c
+++ b/sys/arch/sgi/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.16 2010/09/14 16:55:10 miod Exp $ */
+/* $OpenBSD: boot.c,v 1.17 2010/09/14 16:57:15 miod Exp $ */
/*
* Copyright (c) 2004 Opsycon AB, www.opsycon.se.
@@ -148,11 +148,9 @@ dobootopts(int argc, char **argv)
SystemPartition = &cp[16];
}
- /* If "OSLoadFilename=" is missing, see if any arg was given. */
- if (bootauto == AUTO_NONE) {
- if (*argv[1] == '/')
- OSLoadFilename = argv[1];
- }
+ /* If "OSLoadOptions=" is missing, see if any arg was given. */
+ if (bootauto == AUTO_NONE && *argv[1] == '/')
+ OSLoadFilename = argv[1];
if (bootauto == AUTO_MINI) {
static char loadpart[64];
diff --git a/sys/arch/sgi/stand/libsa32/heap.h b/sys/arch/sgi/stand/libsa32/heap.h
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/sys/arch/sgi/stand/libsa32/heap.h
+++ /dev/null