From faebeb86e5917b9ea91bc9babf0dbf8c9ec1b343 Mon Sep 17 00:00:00 2001 From: Boris Egorov Date: Tue, 19 Jan 2016 12:16:41 +0600 Subject: hwclock: fix format specifier [cppcheck] [sys-utils/hwclock-rtc.c:435]: (warning) %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. --- sys-utils/hwclock-rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/hwclock-rtc.c') diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c index 812b65b8a..3e32399a3 100644 --- a/sys-utils/hwclock-rtc.c +++ b/sys-utils/hwclock-rtc.c @@ -432,7 +432,7 @@ int get_epoch_rtc(unsigned long *epoch_p, int silent) } if (debug) - printf(_("we have read epoch %ld from %s " + printf(_("we have read epoch %lu from %s " "with RTC_EPOCH_READ ioctl.\n"), *epoch_p, rtc_dev_name); -- cgit v1.2.3-55-g7522