- char program[PATH_SIZE];
- char result[PATH_SIZE];
-
- strlcpy(program, key_val(rule, &rule->program), sizeof(program));
- udev_rules_apply_format(udev, program, sizeof(program));
- if (run_program(program, udev->dev->subsystem, result, sizeof(result), NULL) != 0) {
- dbg("PROGRAM is false\n");
- udev->program_result[0] = '\0';
+ char program[UTIL_PATH_SIZE];
+ char result[UTIL_PATH_SIZE];
+
+ util_strlcpy(program, key_val(rule, &rule->program), sizeof(program));
+ udev_rules_apply_format(udevice, program, sizeof(program));
+ if (run_program(udevice->udev, program, udevice->dev->subsystem, result, sizeof(result), NULL) != 0) {
+ dbg(udevice->udev, "PROGRAM is false\n");
+ udevice->program_result[0] = '\0';