Commit 9c9cff16 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Put in error message

git-svn-id: file:///svn/tokudb@129 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0d4231e0
...@@ -392,6 +392,7 @@ int serialize_brt_header_to (int fd, struct brt_header *h) { ...@@ -392,6 +392,7 @@ int serialize_brt_header_to (int fd, struct brt_header *h) {
assert(w.ndone==size); assert(w.ndone==size);
{ {
ssize_t r = pwrite(fd, w.buf, w.ndone, 0); ssize_t r = pwrite(fd, w.buf, w.ndone, 0);
if (r<0) perror("pwrite");
assert((size_t)r==w.ndone); assert((size_t)r==w.ndone);
} }
toku_free(w.buf); toku_free(w.buf);
......
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