Error in memcpy arguments for SDCC platforms

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@271 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-06-07 00:24:57 +00:00
parent a48fe435f8
commit cfdfa7b3c9
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ static int user_main(int argc, char *argv[])
g_mmprevious = g_mmbefore;
#else
(void)mallinfo(&g_mmbefore);
memcpy(g_mmprevious, g_mmbefore, sizeof(struct mallinfo));
memcpy(&g_mmprevious, &g_mmbefore, sizeof(struct mallinfo));
#endif
#endif