diff options
-rw-r--r-- | src/udev-rules.c | 3 | ||||
-rw-r--r-- | src/udevd.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/udev-rules.c b/src/udev-rules.c index d14a57abc7..c163712868 100644 --- a/src/udev-rules.c +++ b/src/udev-rules.c @@ -1451,6 +1451,9 @@ static int add_rule(struct udev_rules *rules, char *line, } if (strcmp(key, "RUN") == 0) { + if (strncmp(value, "socket:", 7) == 0) + err(rules->udev, "RUN+=\"socket:...\" support will be removed from a future udev release. " + "Please remove it from: %s:%u and use libudev to subscribe to events.\n", filename, lineno); rule_add_key(&rule_tmp, TK_A_RUN, op, value, NULL); continue; } diff --git a/src/udevd.c b/src/udevd.c index 77a1e7909d..170221790a 100644 --- a/src/udevd.c +++ b/src/udevd.c @@ -230,7 +230,7 @@ static void worker_new(struct event *event) sigset_t mask; int rc = EXIT_SUCCESS; - /* move initial device from queue */ + /* take initial device from queue */ dev = event->dev; event->dev = NULL; |