summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-17 05:53:59 +0000
committerderaadt <deraadt@openbsd.org>1996-08-17 05:53:59 +0000
commitb851401015c83b93b9fad11da7a3bdf161cb17a8 (patch)
treeb77cf4ae388240d9ac812c496547a0cd4058f7f4 /sys/kern/subr_disk.c
parentdo not screw with mice; from dm (diff)
downloadwireguard-openbsd-b851401015c83b93b9fad11da7a3bdf161cb17a8.tar.xz
wireguard-openbsd-b851401015c83b93b9fad11da7a3bdf161cb17a8.zip
do not panic for common driver bugs
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index dfed96b2241..200890ecf51 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -371,7 +371,7 @@ disk_unbusy(diskp, bcount)
struct timeval dv_time, diff_time;
if (diskp->dk_busy-- == 0)
- panic("disk_unbusy: %s: dk_busy < 0", diskp->dk_name);
+ printf("disk_unbusy: %s: dk_busy < 0\n", diskp->dk_name);
s = splclock();
dv_time = mono_time;