summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-29 14:50:09 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-01 12:50:45 +0100
commit49f3ee7e74c714f55aab395c080b1099fc17f7fd (patch)
tree78ce7b1c4e15e87c2dc337b83ba1121c3a470349 /src/udev/udevd.c
parentae1889068796f6151703f598dc2bae88a167bc9d (diff)
downloadsystemd-49f3ee7e74c714f55aab395c080b1099fc17f7fd.tar.gz
systemd-49f3ee7e74c714f55aab395c080b1099fc17f7fd.tar.bz2
systemd-49f3ee7e74c714f55aab395c080b1099fc17f7fd.zip
udevd: configure a child process name for worker processes
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index f5d33541f6..fa85f6e263 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -534,7 +534,7 @@ static int worker_spawn(Manager *manager, struct event *event) {
if (r < 0)
return log_error_errno(r, "Worker: Failed to enable receiving of device: %m");
- r = safe_fork(NULL, FORK_DEATHSIG, &pid);
+ r = safe_fork("(worker)", FORK_DEATHSIG, &pid);
if (r < 0) {
event->state = EVENT_QUEUED;
return log_error_errno(r, "Failed to fork() worker: %m");