summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-net_setup_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udev-builtin-net_setup_link.c')
-rw-r--r--src/udev/udev-builtin-net_setup_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c
index e6ffa53400..b7ba8c9060 100644
--- a/src/udev/udev-builtin-net_setup_link.c
+++ b/src/udev/udev-builtin-net_setup_link.c
@@ -23,7 +23,7 @@
#include "udev.h"
#include "log.h"
-link_config_ctx *ctx;
+static link_config_ctx *ctx = NULL;
static int builtin_net_setup_link(struct udev_device *dev, int argc, char **argv, bool test) {
const char *name;