summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-01-11 08:21:21 +0000
committerdlg <dlg@openbsd.org>2006-01-11 08:21:21 +0000
commit00128b632f13cf3798ff5555a33bda2670ef6a57 (patch)
tree7643ccebc5d3c93624080f99014990719d0a2935 /sys
parentadd HARDWARE section; ok jmc@. (diff)
downloadwireguard-openbsd-00128b632f13cf3798ff5555a33bda2670ef6a57.tar.xz
wireguard-openbsd-00128b632f13cf3798ff5555a33bda2670ef6a57.zip
dont print anything if we're unable to read the status page
requested by deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/safte.c3
-rw-r--r--sys/scsi/ses.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/scsi/safte.c b/sys/scsi/safte.c
index 4087185eead..cc4c3a0e987 100644
--- a/sys/scsi/safte.c
+++ b/sys/scsi/safte.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: safte.c,v 1.24 2005/12/02 04:23:17 krw Exp $ */
+/* $OpenBSD: safte.c,v 1.25 2006/01/11 08:21:21 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -402,7 +402,6 @@ safte_read_encstat(void *arg)
sizeof(cmd), sc->sc_encbuf, sc->sc_encbuflen, 2, 30000, NULL,
flags) != 0) {
lockmgr(&sc->sc_lock, LK_RELEASE, NULL);
- printf("%s: unable to read enclosure status\n", DEVNAME(sc));
return;
}
diff --git a/sys/scsi/ses.c b/sys/scsi/ses.c
index bd61a8df224..1a1b222a162 100644
--- a/sys/scsi/ses.c
+++ b/sys/scsi/ses.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ses.c,v 1.32 2005/11/19 02:18:01 pedro Exp $ */
+/* $OpenBSD: ses.c,v 1.33 2006/01/11 08:21:21 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -499,7 +499,6 @@ ses_refresh_sensors(void *arg)
lockmgr(&sc->sc_lock, LK_EXCLUSIVE, NULL);
if (ses_read_status(sc) != 0) {
- printf("%s: unable to read enclosure status\n", DEVNAME(sc));
lockmgr(&sc->sc_lock, LK_RELEASE, NULL);
return;
}