summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/stand
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-14 19:32:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-14 19:32:24 +0000
commit66b854c58769426834245cba5eedf96a8f6be7f3 (patch)
treefd330f9e42760b2ba3653232dd8c0a1a222361fd /sys/arch/hppa/stand
parent8f816e9aa987cc01c2bf0e7ba2c4a5ff3f64f74a (diff)
do not fail if there is no disklabel found, could be netbooting
Diffstat (limited to 'sys/arch/hppa/stand')
-rw-r--r--sys/arch/hppa/stand/libsa/dk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/stand/libsa/dk.c b/sys/arch/hppa/stand/libsa/dk.c
index 22cf16cb01e..7005394f674 100644
--- a/sys/arch/hppa/stand/libsa/dk.c
+++ b/sys/arch/hppa/stand/libsa/dk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dk.c,v 1.7 2003/01/14 11:40:18 mickey Exp $ */
+/* $OpenBSD: dk.c,v 1.8 2003/01/14 19:32:23 mickey Exp $ */
/*
* Copyright 1996 1995 by Open Software Foundation, Inc.
@@ -76,7 +76,7 @@ dkopen(struct open_file *f, ...)
if (debug)
printf ("dkopen: %s\n", st);
#endif
- return ERDLAB;
+ /* we do not know if it's a disk or net, but do not fail */
} else {
register u_int i;