summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 15:25:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:53 +0200
commit57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e (patch)
treecdeeeedebdb764e83f3b7c9e5110231dfcf77163 /src/util
parentfc6afb011198f84a30e6598c62923b5a588ccd54 (diff)
downloadsssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.tar.gz
sssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.tar.bz2
sssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.zip
Fix formating of variables with type: long
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util.h b/src/util/util.h
index c2c31f5d..67f60a58 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -128,7 +128,7 @@ errno_t set_debug_file_from_fd(const int fd);
memcpy(__debug_macro_datetime, ctime(&__debug_macro_tv.tv_sec), 19); \
__debug_macro_datetime[19] = '\0'; \
if (debug_microseconds) { \
- debug_fn("(%s:%.6d %d) [%s] [%s] (%#.4x): ", \
+ debug_fn("(%s:%.6ld %d) [%s] [%s] (%#.4x): ", \
__debug_macro_datetime, __debug_macro_tv.tv_usec, \
__debug_macro_year, debug_prg_name, \
__FUNCTION__, __debug_macro_newlevel); \
@@ -169,7 +169,7 @@ errno_t set_debug_file_from_fd(const int fd);
memcpy(__debug_macro_datetime, ctime(&__debug_macro_tv.tv_sec), 19); \
__debug_macro_datetime[19] = '\0'; \
if (debug_microseconds) { \
- debug_fn("(%s:%.6d %d) [%s] [%s] (%#.4x): %s\n", \
+ debug_fn("(%s:%.6ld %d) [%s] [%s] (%#.4x): %s\n", \
__debug_macro_datetime, __debug_macro_tv.tv_usec, \
__debug_macro_year, debug_prg_name, \
function, __debug_macro_newlevel, message); \