summaryrefslogtreecommitdiff
path: root/udev/udevadm-trigger.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-17 23:32:43 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-17 23:32:43 -0700
commita076080bd43d55f0d4eabc9bef2bf46c9791372f (patch)
tree3377c3a7aa4d640b7a003705a776a67f3a4f7798 /udev/udevadm-trigger.c
parent7bcbf7ecc81be6be2a0862c9d713fe41869ecba3 (diff)
libudev: pass udev_device in enumerate
Diffstat (limited to 'udev/udevadm-trigger.c')
-rw-r--r--udev/udevadm-trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 13736378df..e7940ef92d 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -126,7 +126,7 @@ static int pass_to_socket(struct udev *udev, const char *syspath, const char *ac
int fd;
char link_target[UTIL_PATH_SIZE];
int len;
- const char *devpath = syspath[strlen(udev_get_sys_path(udev))];
+ const char *devpath = &syspath[strlen(udev_get_sys_path(udev))];
int err = 0;
if (verbose)