summaryrefslogtreecommitdiffstats
path: root/base/linux_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r--base/linux_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc
index 660ea19..84f2028 100644
--- a/base/linux_util.cc
+++ b/base/linux_util.cc
@@ -231,7 +231,7 @@ bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode) {
continue;
}
- ino_t fd_inode;
+ ino_t fd_inode = static_cast<ino_t>(-1);
if (ProcPathGetInode(&fd_inode, buf)) {
if (fd_inode == socket_inode) {
if (already_found) {