From 8de0628cb91cb86a99c7479df3c552f541b973e0 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 19 Oct 2017 22:48:29 -0700 Subject: [PATCH] Match commented argument names with actual names Summary: Via the clang-tidy check misc-argument-comment. Reviewed By: yfeldblum Differential Revision: D6107482 fbshipit-source-id: a1fe6215c31fae472ad3b6e05abea974d706794e --- folly/Subprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/folly/Subprocess.cpp b/folly/Subprocess.cpp index c342a969..7ac96687 100644 --- a/folly/Subprocess.cpp +++ b/folly/Subprocess.cpp @@ -353,10 +353,10 @@ void Subprocess::spawnInternal( int cfd; if (p.second == PIPE_IN) { // Child gets reading end - pipe.pipe = folly::File(fds[1], /*owns_fd=*/ true); + pipe.pipe = folly::File(fds[1], /*ownsFd=*/true); cfd = fds[0]; } else { - pipe.pipe = folly::File(fds[0], /*owns_fd=*/ true); + pipe.pipe = folly::File(fds[0], /*ownsFd=*/true); cfd = fds[1]; } p.second = cfd; // ensure it gets dup2()ed -- 2.34.1