summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/printfrr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printfrr.h b/lib/printfrr.h
index 4338ac3a2f..37f1f9c8cd 100644
--- a/lib/printfrr.h
+++ b/lib/printfrr.h
@@ -305,8 +305,8 @@ struct va_format {
#define FMT_NSTD(expr) \
({ \
- typeof(expr) _v; \
FMT_NSTD_BEGIN \
+ typeof(expr) _v; \
_v = expr; \
FMT_NSTD_END \
_v; \