summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-30 19:23:44 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-02 14:15:32 +0900
commit3c209d607050564779213f0b03a2f00e439ddee8 (patch)
tree4ffc685bc7a899f011aa12974f64677dbb2cf3b9 /src/udev
parentef315adaa4199a2fd03e61744b434724baf8bdb3 (diff)
downloadsystemd-3c209d607050564779213f0b03a2f00e439ddee8.tar.gz
udev: comment that $tempnode and $sysfs formats are deprecated
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 19ae017d82..1fdd405d37 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -115,9 +115,9 @@ struct subst_map_entry {
static const struct subst_map_entry map[] = {
{ .name = "devnode", .fmt = 'N', .type = FORMAT_SUBST_DEVNODE },
- { .name = "tempnode", .fmt = 'N', .type = FORMAT_SUBST_DEVNODE },
+ { .name = "tempnode", .fmt = 'N', .type = FORMAT_SUBST_DEVNODE }, /* deprecated */
{ .name = "attr", .fmt = 's', .type = FORMAT_SUBST_ATTR },
- { .name = "sysfs", .fmt = 's', .type = FORMAT_SUBST_ATTR },
+ { .name = "sysfs", .fmt = 's', .type = FORMAT_SUBST_ATTR }, /* deprecated */
{ .name = "env", .fmt = 'E', .type = FORMAT_SUBST_ENV },
{ .name = "kernel", .fmt = 'k', .type = FORMAT_SUBST_KERNEL },
{ .name = "number", .fmt = 'n', .type = FORMAT_SUBST_KERNEL_NUMBER },