summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device.c
diff options
context:
space:
mode:
authorZbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-15 18:42:28 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-05-15 19:34:56 -0400
commitf8e5fbd9c8b209e556c017bfb420a86e8181dfa7 (patch)
treee6488b61b93e5e69c161475a6c62f2bfbd146f00 /src/libudev/libudev-device.c
parentdb992ba3a71f320faab8f90de77ef081305917bb (diff)
Remove unnecessary casts in printfs
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r--src/libudev/libudev-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
index 9f80f56d42..3a64f24fb8 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/libudev-device.c
@@ -1341,7 +1341,7 @@ void udev_device_set_usec_initialized(struct udev_device *udev_device, usec_t us
char num[32];
udev_device->usec_initialized = usec_initialized;
- snprintf(num, sizeof(num), "%llu", (unsigned long long)usec_initialized);
+ snprintf(num, sizeof(num), USEC_FMT, usec_initialized);
udev_device_add_property(udev_device, "USEC_INITIALIZED", num);
}