summaryrefslogtreecommitdiff
path: root/trusty/storage/proxy/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'trusty/storage/proxy/storage.c')
-rw-r--r--trusty/storage/proxy/storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trusty/storage/proxy/storage.c b/trusty/storage/proxy/storage.c
index 2fde30f84..5b83e2141 100644
--- a/trusty/storage/proxy/storage.c
+++ b/trusty/storage/proxy/storage.c
@@ -477,6 +477,7 @@ int storage_init(const char *dirname)
if (ssdir_fd < 0) {
ALOGE("failed to open ss root dir \"%s\": %s\n",
dirname, strerror(errno));
+ return -1;
}
ssdir_name = dirname;
return 0;