aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/daemon.cpp
diff options
context:
space:
mode:
authorphud <phud@yandex-team.ru>2022-02-10 16:51:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:45 +0300
commitd96d43aa41d3bdd060cd182ca9c472e667bfcf2c (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/daemon.cpp
parent0a405889878cba55d4d7cf8b5256bacc364bee9c (diff)
downloadydb-d96d43aa41d3bdd060cd182ca9c472e667bfcf2c.tar.gz
Restoring authorship annotation for <phud@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/daemon.cpp')
-rw-r--r--util/system/daemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/daemon.cpp b/util/system/daemon.cpp
index 00838f349b..130e6c8f45 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) {