aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index fcf853222c..c3dc26a1d5 100644
--- a/vl.c
+++ b/vl.c
@@ -4806,7 +4806,7 @@ static char *find_datadir(const char *argv0)
len = GetModuleFileName(NULL, buf, sizeof(buf) - 1);
if (len == 0) {
- return len;
+ return NULL;
}
buf[len] = 0;