summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device-private.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-11-11 20:45:05 +0100
committerKay Sievers <kay@vrfy.org>2012-11-12 01:03:14 +0100
commit40fe8b11be9c1a1b38b91db097a5d6ebfa99304c (patch)
tree41183236fc9e51fe054afe378151c045893e75f8 /src/libudev/libudev-device-private.c
parent1707b36c6da447a42b0223840cf2eb84ca3f2f34 (diff)
udev: use usec_t and now()
Diffstat (limited to 'src/libudev/libudev-device-private.c')
-rw-r--r--src/libudev/libudev-device-private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c
index 489bea8480..489afe2125 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/libudev-device-private.c
@@ -147,7 +147,7 @@ int udev_device_update_db(struct udev_device *udev_device)
}
if (udev_device_get_usec_initialized(udev_device) > 0)
- fprintf(f, "I:%llu\n", udev_device_get_usec_initialized(udev_device));
+ fprintf(f, "I:%llu\n", (unsigned long long)udev_device_get_usec_initialized(udev_device));
udev_list_entry_foreach(list_entry, udev_device_get_properties_list_entry(udev_device)) {
if (!udev_list_entry_get_num(list_entry))