Commit e966803f authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5889 fix memset


git-svn-id: file:///svn/toku/tokudb@52277 c7de825b-a66e-492c-adef-691d508d4ae1
parent 15e87b6d
......@@ -30,7 +30,7 @@ int test_main(int argc, char *const argv[]) {
int fd = open(fname, O_RDWR | O_CREAT | O_BINARY, S_IRWXU|S_IRWXG|S_IRWXO);
assert(fd>=0);
char *XMALLOC_N_ALIGNED(512, 512, buf);
memset(buf, 512, 0);
memset(buf, 0, 512);
strcpy(buf, "hello");
int64_t offset = (1LL<<32) + 512;
toku_os_full_pwrite(fd, buf, 512, offset);
......
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