summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-22 05:11:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-22 05:11:46 +0000
commit6c3bf475a5344c0be96a3e06080c03d1e398ad98 (patch)
tree803a82ec636b9634abc0a80c97dab32868fce6ae /sys/dev/ata/atascsi.c
parentb8d00eb1506d2c86a148bd073d62cc017a86f5f2 (diff)
when an ata command returns an error, dont fill dmesg with messages about
it. returning an error to the scsi midlayer is all we need to do, which in turn will do the right thing.
Diffstat (limited to 'sys/dev/ata/atascsi.c')
-rw-r--r--sys/dev/ata/atascsi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c
index 8782a8f802a..06386d868c5 100644
--- a/sys/dev/ata/atascsi.c
+++ b/sys/dev/ata/atascsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.c,v 1.40 2007/04/12 13:08:34 jsg Exp $ */
+/* $OpenBSD: atascsi.c,v 1.41 2007/04/22 05:11:45 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -407,7 +407,6 @@ atascsi_disk_cmd_done(struct ata_xfer *xa)
break;
case ATA_S_ERROR:
/* fake sense? */
- printf("%s: error\n", __FUNCTION__);
xs->error = XS_DRIVER_STUFFUP;
break;
case ATA_S_TIMEOUT: