[hackers] [ubase][PATCH] mount: add missing brackets

From: Petr Vaněk <arkamar_AT_atlas.cz>
Date: Thu, 28 Apr 2016 14:21:02 +0200

---
 mount.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mount.c b/mount.c
index 2eb175c..f56a111 100644
--- a/mount.c
+++ b/mount.c
_AT_@ -261,9 +261,10 @@ main(int argc, char *argv[])
 					target = me->mnt_dir;
 					source = me->mnt_fsname;
 				}
-				if (!fsopts[0])
+				if (!fsopts[0]) {
 					estrlcat(fsopts, me->mnt_opts, sizeof(fsopts));
 					parseopts(fsopts, &flags, data, sizeof(data));
+				}
 				if (!types)
 					types = me->mnt_type;
 				goto mountsingle;
-- 
2.7.3
Received on Thu Apr 28 2016 - 14:21:02 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 28 2016 - 14:24:18 CEST