summaryrefslogtreecommitdiff
path: root/lib/vlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vlog.c')
-rw-r--r--lib/vlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vlog.c b/lib/vlog.c
index 26d0e6cd1..ac229b4ee 100644
--- a/lib/vlog.c
+++ b/lib/vlog.c
@@ -100,7 +100,7 @@ static struct facility facilities[VLF_N_FACILITIES] = {
};
/* Sequence number for the message currently being composed. */
-DEFINE_PER_THREAD_DATA(unsigned int, msg_num, 0);
+DEFINE_STATIC_PER_THREAD_DATA(unsigned int, msg_num, 0);
/* VLF_FILE configuration.
*