summaryrefslogtreecommitdiff
path: root/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-08-17 21:05:18 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-08-17 21:05:18 +0200
commita20a57a7bfbc6edd7602c135ca78f3e56878badb (patch)
tree4460dac44dfccd5f5e380de17c0b28de8bc79711 /udev/udevd.c
parentcdfdc85fb5728c844460c67641bea7197e104b12 (diff)
export USEC_INITIALIZED= and take timestamp on message receive time
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index f1a31e7afb..325ad034c2 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -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);
}