diff options
author | Boris Egorov | 2016-01-19 07:16:41 +0100 |
---|---|---|
committer | Boris Egorov | 2016-01-19 07:59:12 +0100 |
commit | faebeb86e5917b9ea91bc9babf0dbf8c9ec1b343 (patch) | |
tree | 3386436e60a76b3dc622ce7331cad5a9e49e6a9a /sys-utils/hwclock-rtc.c | |
parent | libblkid: check limits before indexing array [cppcheck] (diff) | |
download | kernel-qcow2-util-linux-faebeb86e5917b9ea91bc9babf0dbf8c9ec1b343.tar.gz kernel-qcow2-util-linux-faebeb86e5917b9ea91bc9babf0dbf8c9ec1b343.tar.xz kernel-qcow2-util-linux-faebeb86e5917b9ea91bc9babf0dbf8c9ec1b343.zip |
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'.
Diffstat (limited to 'sys-utils/hwclock-rtc.c')
-rw-r--r-- | sys-utils/hwclock-rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |