From: Christopher Dykes Date: Fri, 20 Oct 2017 05:48:29 +0000 (-0700) Subject: Match commented argument names with actual names X-Git-Tag: v2017.10.23.00~7 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=8de0628cb91cb86a99c7479df3c552f541b973e0;ds=sidebyside 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 --- 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