summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 11:58:17 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 11:58:17 +0000
commit90c7546354aef4d602c9c7de61dbae511ee3d266 (patch)
treee21c625691076d2cf1d8a40749df64013cf5bcbd /sys/dev/ic
parent193df2a53487bd1db9c13999c388dec5f24120dd (diff)
Cleanup a bit, more pretty debug messages.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/wdc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index e1f7215ed02..966bb79f250 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.65 2003/10/16 11:30:00 grange Exp $ */
+/* $OpenBSD: wdc.c,v 1.66 2003/10/16 11:58:16 grange Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -1242,7 +1242,7 @@ wdc_probe_caps(drvp, params)
if (drvp->drive_flags & DRIVE_ATAPI)
drvp->PIO_mode = 3;
- WDCDEBUG_PRINT(("wdc_probe_caps: wdc_cap %d cf_flags %d\n",
+ WDCDEBUG_PRINT(("wdc_probe_caps: wdc_cap 0x%x cf_flags 0x%x\n",
wdc->cap, cf_flags), DEBUG_PROBE);
valid_mode_found = 0;
@@ -1621,7 +1621,7 @@ wdc_exec_command(drvp, wdc_c)
WDC_NOSLEEP);
if (xfer == NULL) {
return WDC_TRY_AGAIN;
- }
+ }
if (wdc_c->flags & AT_POLL)
xfer->c_flags |= C_POLL;