Fix some memset calls that use the wrong order for arguments.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20165 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tom Ross 2009-03-02 01:40:41 +00:00
parent 85aeb28d31
commit c645752314
2 changed files with 2 additions and 2 deletions

View file

@ -2849,7 +2849,7 @@ void audio_init(void)
IF_PRIO(, PRIORITY_SYSTEM)
IF_COP(, CPU));
memset(trackdata, sizeof(trackdata), 0);
memset(trackdata, 0, sizeof(trackdata));
#if (CONFIG_CODEC == MAS3587F) && !defined(SIMULATOR)
if (HW_MASK & PR_ACTIVE_HIGH)

View file

@ -268,7 +268,7 @@ int mkdir_uncached(const char *name)
}
}
memset(&newdir, sizeof(struct fat_dir), 0);
memset(&newdir, 0, sizeof(struct fat_dir));
rc = fat_create_dir(basename, &newdir, &(dir->fatdir));
closedir_uncached(dir);