summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index d3fd9ba..6cdd995 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -1452,7 +1452,7 @@ disk_t *file_test_availability(const char *device, const int verbose, const arch
return fewf_init(device, arch, testdisk_mode);
#endif
}
- return disk_car;
+ return NULL;
}
disk_car=(disk_t *)MALLOC(sizeof(*disk_car));
disk_car->arch=arch;