]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
mdadm: Fixup more broken logical operator formatting
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 0564c0be66299c991be6eef5b492cc6349865ab1..d89438c812ef809e18710e052bee584f8525def9 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2213,8 +2213,7 @@ void enable_fds(int devices)
 {
        unsigned int fds = 20 + devices;
        struct rlimit lim;
-       if (getrlimit(RLIMIT_NOFILE, &lim) != 0
-           || lim.rlim_cur >= fds)
+       if (getrlimit(RLIMIT_NOFILE, &lim) != 0 || lim.rlim_cur >= fds)
                return;
        if (lim.rlim_max < fds)
                lim.rlim_max = fds;