summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2011-06-22 14:17:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2011-06-22 14:17:02 +0000
commit170dc45699ecadd925be6b0b76cffb9ba9accba0 (patch)
tree6328f5aab95bbb8ba0e85df989919ba94db6a077
parented65b7b98458fbb55cfca8f204b90f8fa3f9f6dc (diff)
Print correct function name in debug statements. ata_get_params, not
ata_get_parms or wdc_ata_get_parms.
-rw-r--r--sys/dev/ata/ata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index 2ab454c33f4..dd667b4c0f2 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ata.c,v 1.32 2011/04/08 00:34:56 deraadt Exp $ */
+/* $OpenBSD: ata.c,v 1.33 2011/06/22 14:17:01 krw Exp $ */
/* $NetBSD: ata.c,v 1.9 1999/04/15 09:41:09 bouyer Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -66,7 +66,7 @@ ata_get_params(struct ata_drive_datas *drvp, u_int8_t flags,
u_int16_t *p;
int ret;
- WDCDEBUG_PRINT(("ata_get_parms\n"), DEBUG_FUNCS);
+ WDCDEBUG_PRINT(("ata_get_params\n"), DEBUG_FUNCS);
bzero(&wdc_c, sizeof(struct wdc_command));
@@ -81,7 +81,7 @@ ata_get_params(struct ata_drive_datas *drvp, u_int8_t flags,
wdc_c.r_st_pmask = 0;
wdc_c.timeout = 10000; /* 10s */
} else {
- WDCDEBUG_PRINT(("wdc_ata_get_parms: no disks\n"),
+ WDCDEBUG_PRINT(("ata_get_params: no disks\n"),
DEBUG_FUNCS|DEBUG_PROBE);
return CMD_ERR;
}