summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b343e5)
raw | patch | inline | side by side (parent: 7b343e5)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 10 Aug 2016 14:02:54 +0000 (16:02 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 10 Aug 2016 14:02:54 +0000 (16:02 +0200) |
time_t is a long long on OpenBSD
src/chrony.c | patch | blob | history |
diff --git a/src/chrony.c b/src/chrony.c
index 0485036a132aecf6ca0a9b1dbf11907b03aa809e..f6294e49112dabdcf70a0c84c78e96e40b2a5945 100644 (file)
--- a/src/chrony.c
+++ b/src/chrony.c
if (chrony_set_timeout())
{
- ERROR(PLUGIN_NAME ": Error setting timeout to %lds. Errno = %d",
- g_chrony_timeout, errno);
+ ERROR(PLUGIN_NAME ": Error setting timeout to %llds. Errno = %d",
+ (long long)g_chrony_timeout, errno);
return CHRONY_RC_FAIL;
}
return CHRONY_RC_OK;