Explorar o código

[LibOS] Fix error propagation in __mount_others()

Michał Kowalczyk %!s(int64=6) %!d(string=hai) anos
pai
achega
6e4a8d5c05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }