From 6e4a8d5c05735e06e99a031cc3d9deb4c6228a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowalczyk?= Date: Mon, 10 Dec 2018 17:14:31 +0100 Subject: [PATCH] [LibOS] Fix error propagation in __mount_others() --- LibOS/shim/src/fs/shim_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibOS/shim/src/fs/shim_fs.c b/LibOS/shim/src/fs/shim_fs.c index 13d450d2..7af5808f 100644 --- a/LibOS/shim/src/fs/shim_fs.c +++ b/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; }