summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index b1de97a321..b3fbc27b86 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1125,6 +1125,7 @@ static int parse_argv(int argc, char *argv[]) {
int main(int argc, char *argv[]) {
struct udev *udev;
sigset_t mask;
+ FILE *f;
int fd_ctrl = -1;
int fd_netlink = -1;
int fd_worker = -1;
@@ -1277,6 +1278,12 @@ int main(int argc, char *argv[]) {
udev_list_node_init(&event_list);
+ f = fopen("/dev/kmsg", "w");
+ if (f != NULL) {
+ fprintf(f, "<30>udevd[%u]: starting eudev-" VERSION "\n", getpid());
+ fclose(f);
+ }
+
if (!arg_debug) {
int fd;