From a21b5ac255a68837c7dc29a570707fb05c20775d Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Mon, 22 Dec 2008 03:18:03 +0000 Subject: hex for unused widget names --- sys/dev/pci/azalia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') 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) { -- cgit v1.2.3