summaryrefslogtreecommitdiff
path: root/test/TestUtil.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
commit4db349c1f32b4a313d12d114137432441633d00a (patch)
tree417451971e264834312cfd8339c79930d680a5d1 /test/TestUtil.cc
parent338e8aca09331d3e7fa4e1e8e1f9d10260986772 (diff)
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80 columns. * src * test
Diffstat (limited to 'test/TestUtil.cc')
-rw-r--r--test/TestUtil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestUtil.cc b/test/TestUtil.cc
index 4a428c0c..cb550c17 100644
--- a/test/TestUtil.cc
+++ b/test/TestUtil.cc
@@ -21,11 +21,11 @@ void createFile(const std::string& path, size_t length)
int fd = creat(path.c_str(), OPEN_MODE);
if(fd == -1) {
throw FATAL_EXCEPTION(StringFormat("Could not create file=%s. cause:%s",
- path.c_str(), strerror(errno)).str());
+ path.c_str(), strerror(errno)).str());
}
if(-1 == ftruncate(fd, length)) {
throw FATAL_EXCEPTION(StringFormat("ftruncate failed. cause:%s",
- strerror(errno)).str());
+ strerror(errno)).str());
}
close(fd);
}