From f7c2e9309bb92905bc0ef3ccc8ccb8ad200da65d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 28 May 1998 20:25:52 +0000 Subject: do not panic --- sys/dev/pci/if_de.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c index 173cbe92323..b91d47b8bf0 100644 --- a/sys/dev/pci/if_de.c +++ b/sys/dev/pci/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.30 1998/05/22 21:37:04 deraadt Exp $ */ +/* $OpenBSD: if_de.c,v 1.31 1998/05/28 20:25:51 deraadt Exp $ */ /* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */ /*- @@ -523,7 +523,7 @@ tulip_media_link_monitor( if (mi == NULL) { #if defined(DIAGNOSTIC) || defined(TULIP_DEBUG) - panic("tulip_media_link_monitor: %s: botch at line %d\n", + printf("tulip_media_link_monitor: %s: botch at line %d\n", tulip_mediums[sc->tulip_media],__LINE__); #endif return TULIP_LINK_UNKNOWN; @@ -808,7 +808,7 @@ tulip_media_poll( } default: { #if defined(DIAGNOSTIC) || defined(TULIP_DEBUG) - panic("tulip_media_poll: botch at line %d\n", __LINE__); + printf("tulip_media_poll: botch at line %d\n", __LINE__); #endif break; } @@ -1462,7 +1462,7 @@ tulip_mii_autonegotiate( } default: { #if defined(DIAGNOSTIC) - panic("tulip_media_poll: botch at line %d\n", __LINE__); + printf("tulip_media_poll: botch at line %d\n", __LINE__); #endif break; } -- cgit v1.2.3