From f8e5fbd9c8b209e556c017bfb420a86e8181dfa7 Mon Sep 17 00:00:00 2001 From: Zbigniew Jedrzejewski-Szmek Date: Thu, 15 May 2014 18:42:28 -0400 Subject: Remove unnecessary casts in printfs Signed-off-by: Anthony G. Basile --- src/libudev/libudev-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libudev/libudev-device.c') 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); } -- cgit v1.2.3-54-g00ecf