diff options
author | 2006-01-11 08:21:21 +0000 | |
---|---|---|
committer | 2006-01-11 08:21:21 +0000 | |
commit | 00128b632f13cf3798ff5555a33bda2670ef6a57 (patch) | |
tree | 7643ccebc5d3c93624080f99014990719d0a2935 /sys/scsi/ses.c | |
parent | add HARDWARE section; ok jmc@. (diff) | |
download | wireguard-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/scsi/ses.c')
-rw-r--r-- | sys/scsi/ses.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |