Fix issue #66 "memset typo" with supplied patch

git-svn-id: http://s3fs.googlecode.com/svn/trunk@195 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
mooredan@suncup.net 2010-10-18 20:54:42 +00:00
parent 6ccbc134c6
commit ca547530f8

View File

@ -1647,7 +1647,7 @@ static struct fuse_operations s3fs_oper;
int
main(int argc, char *argv[]) {
memset(&s3fs_oper, sizeof(s3fs_oper), 0);
memset(&s3fs_oper, 0, sizeof(s3fs_oper));
struct fuse_args custom_args = FUSE_ARGS_INIT(argc, argv);
fuse_opt_parse(&custom_args, NULL, NULL, my_fuse_opt_proc);