summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/net/link-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
index 7be4d24de7..8234598e45 100644
--- a/src/udev/net/link-config.c
+++ b/src/udev/net/link-config.c
@@ -140,7 +140,7 @@ void link_config_ctx_free(link_config_ctx *ctx) {
static int load_link(link_config_ctx *ctx, const char *filename) {
_cleanup_free_ link_config *link = NULL;
- _cleanup_fclose_ FILE *file;
+ _cleanup_fclose_ FILE *file = NULL;
int r;
assert(ctx);