aboutsummaryrefslogtreecommitdiff
blob: 85c911422876f8b86bab1c8646e263331d082ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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