diff options
author | Werner Koch <wk@gnupg.org> | 2017-11-15 14:46:14 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-11-15 14:51:09 +0100 |
commit | 8704304699bcbc1c10d0315ec7d25a1ae05c9905 (patch) | |
tree | 075e4e381d0c8c955e5d1958e6cc865e876b2047 /common/logging.h | |
parent | i18n: Add an article to "agent" and lowercase "dirmngr" in one file. (diff) | |
download | gnupg2-8704304699bcbc1c10d0315ec7d25a1ae05c9905.tar.xz gnupg2-8704304699bcbc1c10d0315ec7d25a1ae05c9905.zip |
common: Change log_clock to printf style.
* common/logging.c (log_clock): Use do_logv.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/logging.h')
-rw-r--r-- | common/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/logging.h b/common/logging.h index e1bf56b17..34843c78a 100644 --- a/common/logging.h +++ b/common/logging.h @@ -109,7 +109,7 @@ void log_flush (void); by the hexdump and a final LF. */ void log_printhex (const char *text, const void *buffer, size_t length); -void log_clock (const char *string); +void log_clock (const char *fmt, ...) GPGRT_ATTR_PRINTF(1,2); #endif /*GNUPG_COMMON_LOGGING_H*/ |