chiark / gitweb /
export USEC_INITIALIZED= and take timestamp on message receive time
[elogind.git] / udev / udevd.c
index f1a31e7..325ad03 100644 (file)
@@ -1655,6 +1655,7 @@ int main(int argc, char *argv[])
 
                        dev = udev_monitor_receive_device(monitor);
                        if (dev != NULL)
+                               udev_device_set_usec_initialized(dev, now_usec());
                                if (event_queue_insert(dev) < 0)
                                        udev_device_unref(dev);
                }