summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2009-10-11 00:59:38 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2009-10-11 00:59:38 +0000
commita5f0ae9760d55b580cc5499a98ab8a81e9e6993b (patch)
tree512f4c3a33e1b452906a5ef8dd8172e2fe4bbe77 /sys
parent7725e9ef55bcc1310ebe04518dc7f61cc669af90 (diff)
* start all "initialization failure" messages with lowercase letter.
* instead of printing "initialization failure", print "initialization failure, detaching". perhaps instills more confidence that the failure was handled in an orderly manner.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/azalia.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index d5986ad59ca..76e5964eb95 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.155 2009/10/11 00:07:06 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.156 2009/10/11 00:59:37 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -500,7 +500,7 @@ azalia_pci_attach(struct device *parent, struct device *self, void *aux)
return;
err_exit:
- printf("%s: initialization failure\n", XNAME(sc));
+ printf("%s: initialization failure, detaching\n", XNAME(sc));
azalia_pci_detach(self, 0);
}
@@ -702,7 +702,7 @@ azalia_get_ctrlr_caps(azalia_t *az)
}
az->ncodecs = n;
if (az->ncodecs < 1) {
- printf("%s: No HD-Audio codecs\n", XNAME(az));
+ printf("%s: no HD-Audio codecs\n", XNAME(az));
return -1;
}
@@ -720,7 +720,7 @@ azalia_get_ctrlr_caps(azalia_t *az)
az->corb_entries = 2;
az->corbsize |= HDA_CORBSIZE_CORBSIZE_2;
} else {
- printf("%s: Invalid CORBSZCAP: 0x%2x\n", XNAME(az), cap);
+ printf("%s: invalid CORBSZCAP: 0x%2x\n", XNAME(az), cap);
return(-1);
}
@@ -738,7 +738,7 @@ azalia_get_ctrlr_caps(azalia_t *az)
az->rirb_entries = 2;
az->rirbsize |= HDA_RIRBSIZE_RIRBSIZE_2;
} else {
- printf("%s: Invalid RIRBSZCAP: 0x%2x\n", XNAME(az), cap);
+ printf("%s: invalid RIRBSZCAP: 0x%2x\n", XNAME(az), cap);
return(-1);
}