소스 검색

[LibOS] Fix error propagation in __mount_others()

Michał Kowalczyk 6 년 전
부모
커밋
6e4a8d5c05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }