Browse Source

[LibOS] Fix error propagation in __mount_others()

Michał Kowalczyk 6 years ago
parent
commit
6e4a8d5c05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      LibOS/shim/src/fs/shim_fs.c

+ 1 - 1
LibOS/shim/src/fs/shim_fs.c

@@ -210,7 +210,7 @@ static int __mount_others (void)
     for (int n = 0 ; n < nkeys ; key = next, n++) {
         for (next = key ; *next ; next++);
         next++;
-        int ret = __mount_one_other(key, next - key - 1);
+        ret = __mount_one_other(key, next - key - 1);
         if (ret < 0)
             goto out;
     }