summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-03-11 02:29:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-03-11 02:29:04 +0000
commit707f7f6570f648e1885c1617c09fabdc49b48e09 (patch)
tree7eec7026e14383d1df28017c89e53f8a41efeccf
parent65a2d6dec399392431d4f7fd9b89e295261ecf63 (diff)
work around /kern/msgbuf NUL behaviour; pjanzen
-rw-r--r--distrib/sparc/install.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/distrib/sparc/install.md b/distrib/sparc/install.md
index 8cbeffbee5b..c130c25c4b1 100644
--- a/distrib/sparc/install.md
+++ b/distrib/sparc/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.30 1999/10/13 02:47:42 jason Exp $
+# $OpenBSD: install.md,v 1.31 2000/03/11 02:29:03 deraadt Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -106,15 +106,13 @@ md_machine_arch() {
md_get_diskdevs() {
# return available disk devices
- md_get_msgbuf | sed -n -e '1,/^OpenBSD /d' \
- -e '/^sd[0-9] /{s/ .*//;p;}' \
+ md_get_msgbuf | sed -n -e '/^sd[0-9] /{s/ .*//;p;}' \
-e '/^x[dy][0-9] /{s/ .*//;p;}'
}
md_get_cddevs() {
# return available CDROM devices
- md_get_msgbuf | sed -n -e '1,/^OpenBSD /d' \
- -e '/^cd[0-9] /{s/ .*//;p;}'
+ md_get_msgbuf | sed -n -e '/^cd[0-9] /{s/ .*//;p;}'
}
md_get_partition_range() {