summaryrefslogtreecommitdiff
path: root/src/core/busname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/busname.c')
-rw-r--r--src/core/busname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c
index bc3a2bcb78..1d77292f9b 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -975,7 +975,7 @@ static int busname_get_timeout(Unit *u, uint64_t *timeout) {
}
static bool busname_supported(Manager *m) {
- int supported = -1;
+ static int supported = -1;
assert(m);
if (supported < 0)