summaryrefslogtreecommitdiff
path: root/hald/linux/ide_bus_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hald/linux/ide_bus_device.c')
-rw-r--r--hald/linux/ide_bus_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/linux/ide_bus_device.c b/hald/linux/ide_bus_device.c
index 7817f436..d638af96 100644
--- a/hald/linux/ide_bus_device.c
+++ b/hald/linux/ide_bus_device.c
@@ -59,7 +59,7 @@ ide_device_compute_udi (HalDevice *d, int append_num)
hal_device_property_get_int (d, "ide.host"),
hal_device_property_get_int (d, "ide.channel"));
else
- sprintf (buf, "/org/freedesktop/Hal/devices/ide_%d_%d/d",
+ sprintf (buf, "/org/freedesktop/Hal/devices/ide_%d_%d/%d",
hal_device_property_get_int (d, "ide.host"),
hal_device_property_get_int (d, "ide.channel"),
append_num);