aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ipc.c b/src/tools/ipc.c
index ceeb847..0e61a3e 100644
--- a/src/tools/ipc.c
+++ b/src/tools/ipc.c
@@ -90,7 +90,7 @@ static FILE *userspace_interface_file(const char *interface)
struct stat sbuf;
struct sockaddr_un addr = { .sun_family = AF_UNIX };
int fd = -1, ret;
- FILE *f;
+ FILE *f = NULL;
ret = -EINVAL;
if (strchr(interface, '/'))