]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: comment that $tempnode and $sysfs formats are deprecated
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Apr 2019 17:23:44 +0000 (19:23 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 2 Jun 2019 05:15:32 +0000 (14:15 +0900)
src/udev/udev-event.c

index 19ae017d829bef6cfe80e2fd4e51a04f0103ab7e..1fdd405d37e9f4e7d5af7159a137eecabfe78b37 100644 (file)
@@ -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 },