Commit e702eaed authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix a build problem. addresses #1396

git-svn-id: file:///svn/toku/tokudb@9115 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4fce91b2
......@@ -291,9 +291,10 @@ int toku_cachefile_fd (CACHEFILE cf) {
}
int toku_cachefile_truncate0 (CACHEFILE cf) {
int r = toku_graceful_dirty(cachefile);
int r;
r = toku_graceful_dirty(cf);
if (r!=0) return r;
int r = ftruncate(cf->fd, 0);
r = ftruncate(cf->fd, 0);
if (r != 0)
r = errno;
return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment