summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mail.ru>2006-01-24 20:10:48 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-24 20:10:48 +0100
commitf5f0c34f6dc32769fd788560ce0d0cac843872b2 (patch)
treef2010d2a36dc9f8fdb38fc227469c08bf419962f /udev_rules.h
parent7d1e179f86aabeb5c206bf9b5bcac52235a9afbf (diff)
substitute format chars in RUN after rule matching
Apply substitutions before running a program, not while the rule is parsed. It allows to use environment variables set during rule processing as command arguments.
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 125babf1c5..b183d9b531 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -105,7 +105,7 @@ struct udev_rules {
extern int udev_rules_init(struct udev_rules *rules, int resolve_names);
extern void udev_rules_cleanup(struct udev_rules *rules);
-extern void udev_apply_format(struct udevice *udev, char *string, size_t maxsize);
+extern void apply_format(struct udevice *udev, char *string, size_t maxsize);
extern void udev_rules_iter_init(struct udev_rules *rules);
extern struct udev_rule *udev_rules_iter_next(struct udev_rules *rules);