aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/log_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/log/log_sys.c')
-rw-r--r--src/lib/log/log_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/log/log_sys.c b/src/lib/log/log_sys.c
index 9bae36e1d1..ac76d9bdbb 100644
--- a/src/lib/log/log_sys.c
+++ b/src/lib/log/log_sys.c
@@ -41,7 +41,7 @@ logging_metrics_get_stores(void)
metrics_store_entry_t *sentry = metrics_store_add(
the_store,
METRICS_TYPE_COUNTER,
- METRICS_NAME(bug_reached),
+ METRICS_NAME(bug_reached_count),
"Total number of BUG() and similar assertion reached",
0, NULL);
metrics_store_entry_update(sentry, tor_bug_get_count());