summaryrefslogtreecommitdiff
path: root/udev/udevadm-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r--udev/udevadm-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c
index 342b89d084..ceeead0c8a 100644
--- a/udev/udevadm-test.c
+++ b/udev/udevadm-test.c
@@ -133,7 +133,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[])
char program[UTIL_PATH_SIZE];
util_strlcpy(program, udev_list_entry_get_name(entry), sizeof(program));
- udev_rules_apply_format(event, program, sizeof(program));
+ udev_event_apply_format(event, program, sizeof(program));
info(udev, "run: '%s'\n", program);
}
}