diff options
author | phud <[email protected]> | 2022-02-10 16:51:45 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:45 +0300 |
commit | d96d43aa41d3bdd060cd182ca9c472e667bfcf2c (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/daemon.cpp | |
parent | 0a405889878cba55d4d7cf8b5256bacc364bee9c (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/daemon.cpp')
-rw-r--r-- | util/system/daemon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/daemon.cpp b/util/system/daemon.cpp index 00838f349b0..130e6c8f45e 100644 --- a/util/system/daemon.cpp +++ b/util/system/daemon.cpp @@ -2,7 +2,7 @@ #include <cerrno> #include <cstdlib> -#include <util/system/info.h> +#include <util/system/info.h> #if defined(_win_) #include <io.h> @@ -55,7 +55,7 @@ static void CloseFromToExcept(int from, int to, const int* except) { (void)except; #ifdef _unix_ - int mfd = NSystemInfo::MaxOpenFiles(); + int mfd = NSystemInfo::MaxOpenFiles(); for (int s = from; s < mfd && (to == -1 || s < to); s++) { for (const int* ex = except; *ex >= 0; ++ex) { if (s == *ex) { |