Commit 2f35b4cf authored by Rich Prohaska's avatar Rich Prohaska

port to i386

git-svn-id: file:///svn/tokudb@4161 c7de825b-a66e-492c-adef-691d508d4ae1
parent 85d3c99d
...@@ -640,7 +640,7 @@ int deserialize_brtheader_7_or_later(u_int32_t size, int fd, DISKOFF off, struct ...@@ -640,7 +640,7 @@ int deserialize_brtheader_7_or_later(u_int32_t size, int fd, DISKOFF off, struct
rc.ndone = 0; rc.ndone = 0;
{ {
ssize_t r = pread(fd, rc.buf, size-12, off+12); ssize_t r = pread(fd, rc.buf, size-12, off+12);
if (r!=size-12) { ret = EINVAL; goto died1; } if (r!=(ssize_t)size-12) { ret = EINVAL; goto died1; }
} }
h->dirty=0; h->dirty=0;
h->layout_version = rbuf_int(&rc); h->layout_version = rbuf_int(&rc);
......
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