mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@893 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -852,6 +852,10 @@ int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
fmt = g_fmtcmdoutofmemory;
|
||||
goto errout_with_fmt;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_VERBOSE
|
||||
memset(buffer, 0, sectsize * nsectors);
|
||||
#endif
|
||||
dbg("RAMDISK at %p\n", buffer);
|
||||
|
||||
/* Then register the ramdisk */
|
||||
|
||||
Reference in New Issue
Block a user