From b825df81e2a9c1a961c86787e51c72b1adf43289 Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Tue, 15 Oct 2013 13:57:29 -0700 Subject: [PATCH] Fix error in previous commit of 'ftruncate' to 'fallocate'. Summary: Fix error in previous commit of 'ftruncate' to 'fallocate'. Test Plan: Reviewers: CC: Task ID: # Blame Rev: --- util/env_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/env_test.cc b/util/env_test.cc index 2584b4a3c2..e5b6f02601 100644 --- a/util/env_test.cc +++ b/util/env_test.cc @@ -365,7 +365,7 @@ TEST(EnvPosixTest, PosixRandomRWFileTest) { unique_ptr file; ASSERT_OK(env_->NewRandomRWFile(fname, &file, soptions)); // If you run the unit test on tmpfs, then tmpfs might not - // support ftruncate. It is still better to trigger that + // support fallocate. It is still better to trigger that // code-path instead of eliminating it completely. file.get()->Allocate(0, 10*1024*1024); ASSERT_OK(file.get()->Write(100, Slice("Hello world")));