summaryrefslogtreecommitdiff
path: root/hald/linux/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hald/linux/device.c')
-rw-r--r--hald/linux/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/linux/device.c b/hald/linux/device.c
index 1b3316a2..02c456f7 100644
--- a/hald/linux/device.c
+++ b/hald/linux/device.c
@@ -3496,7 +3496,7 @@ sound_compute_udi (HalDevice *d)
hald_compute_udi (udi, sizeof (udi),
"%s_sound_card_%i",
hal_device_property_get_string (d, "info.parent"),
- hal_device_property_get_string (d, "sound.card"));
+ hal_device_property_get_int (d, "sound.card"));
} else if (hal_device_has_property(d, "alsa.card")) {
/* don't include card number as it may not be persistent across reboots */
hald_compute_udi (udi, sizeof (udi),