aboutsummaryrefslogtreecommitdiff
path: root/any_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'any_log.h')
-rw-r--r--any_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/any_log.h b/any_log.h
index b1c1c2a..c4f143c 100644
--- a/any_log.h
+++ b/any_log.h
@@ -585,7 +585,7 @@ void any_log_value(any_log_level_t level, const char *module,
case 'x':
case 'u': {
unsigned int value = va_arg(args, unsigned int);
- fprintf(any_log_stream, ANY_LOG_VALUE_HEX(key, va_arg(args, unsigned int)));
+ fprintf(any_log_stream, ANY_LOG_VALUE_HEX(key, value));
break;
}