summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-22 03:18:03 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-22 03:18:03 +0000
commita21b5ac255a68837c7dc29a570707fb05c20775d (patch)
tree22943f073ad3eec4b022e3ba54fba6f8ca27b071 /sys/dev/pci
parentdad60e87b427923ae6517b1c568c2fd82e8ebc5d (diff)
hex for unused widget names
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/azalia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 7cd1e6bb5ed..83080d5cd8d 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.87 2008/12/22 03:00:17 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.88 2008/12/22 03:18:02 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -1767,7 +1767,7 @@ azalia_widget_label_widgets(codec_t *codec)
w = &codec->w[i];
w->mixer_class = -1;
/* default for disabled/unused widgets */
- snprintf(w->name, sizeof(w->name), "u-wid%d", w->nid);
+ snprintf(w->name, sizeof(w->name), "u-wid%2.2x", w->nid);
if (w->enable == 0)
continue;
switch (w->type) {