From dc4a042f3a6810f6d1d96eff9c40651621b4692b Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Tue, 14 May 2019 20:57:45 -0700 Subject: Update out of date comment PiperOrigin-RevId: 248265524 Change-Id: Ib9082f08d24ba10535079cf89c714fb22a4fdf10 --- test/util/temp_path.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/util') diff --git a/test/util/temp_path.cc b/test/util/temp_path.cc index c5d8fc635..de7c04a6f 100644 --- a/test/util/temp_path.cc +++ b/test/util/temp_path.cc @@ -85,7 +85,7 @@ PosixErrorOr TempPath::CreateFileWith(absl::string_view const parent, absl::string_view const content, mode_t const mode) { return CreateIn(parent, [=](absl::string_view path) -> PosixError { - // SetContents will call open(O_WRONLY) with the given mode. If the + // CreateWithContents will call open(O_WRONLY) with the given mode. If the // mode is not user-writable, save/restore cannot preserve the fd. Hence // the little permission dance that's done here. auto res = CreateWithContents(path, content, mode | 0200); -- cgit v1.2.3