aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hal-0.5.11-patches/0022-inserts-the-sysfs-path-at-the-right-position-for-cal.patch')
-rw-r--r--hal-0.5.11-patches/0022-inserts-the-sysfs-path-at-the-right-position-for-cal.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/hal-0.5.11-patches/0022-inserts-the-sysfs-path-at-the-right-position-for-cal.patch b/hal-0.5.11-patches/0022-inserts-the-sysfs-path-at-the-right-position-for-cal.patch
new file mode 100644
index 00000000..85c91142
--- /dev/null
+++ b/hal-0.5.11-patches/0022-inserts-the-sysfs-path-at-the-right-position-for-cal.patch
@@ -0,0 +1,27 @@
+From e218ef435e1d49bb62a80a98a2da66096c0b0db4 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?J=C3=BCrg=20Billeter?= <j@bitron.ch>
+Date: Tue, 9 Sep 2008 16:39:45 +0200
+Subject: [PATCH 22/48] inserts the sysfs path at the right position for call udevadm
+
+The inserts the sysfs path at the right position when calling
+udevadm info.
+---
+ hald/linux/blockdev.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/hald/linux/blockdev.c b/hald/linux/blockdev.c
+index 5a52141..20c66bd 100644
+--- a/hald/linux/blockdev.c
++++ b/hald/linux/blockdev.c
+@@ -1754,7 +1754,7 @@ udev_get_device_file_for_sysfs_path (const char *sysfs_path)
+ GError *g_error;
+
+ ret = NULL;
+- argv[5] = sysfs_path;
++ argv[6] = sysfs_path;
+
+ g_error = NULL;
+
+--
+1.6.1.2
+