cmd_mtdparts.c: prevent printbuffer overflows
authorAnatolij Gustschin <agust@denx.de>
Tue, 23 Feb 2010 23:29:44 +0000 (00:29 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 11 Mar 2010 23:18:08 +0000 (00:18 +0100)
commita693447ceadff49155e260cbbaef4e09c926cab5
treecebd86b50e6af4e8e020b6c55df8f81e50dfed33
parent3920bbedcf74a073bc72950a51de75af6faa2f06
cmd_mtdparts.c: prevent printbuffer overflows

The length of configured MTDPARTS_DEFAULT string
could be greater than console printbuffer size.
Replace printf() by puts() to avoid potential buffer
overflows.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/cmd_mtdparts.c