summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-16 21:49:06 +0100
committerTom Gundersen <teg@jklm.no>2014-12-16 22:54:04 +0100
commitc487c9cec012282273e16f3110734309934a1281 (patch)
treee48fb7d995d8c946cdeab2317fe2bd60f8fb9009 /src/udev
parent30c873fbfb9bb291330d50aae8fb67d774a0e4f8 (diff)
udev: net_setup - fix warning
Diffstat (limited to 'src/udev')
-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 87d10bf78f..55b6241309 100644
--- a/src/udev/udev-builtin-net_setup_link.c
+++ b/src/udev/udev-builtin-net_setup_link.c
@@ -27,7 +27,7 @@ static link_config_ctx *ctx = NULL;
static int builtin_net_setup_link(struct udev_device *dev, int argc, char **argv, bool test) {
_cleanup_free_ char *driver = NULL;
- const char *name;
+ const char *name = NULL;
link_config *link;
int r;