summaryrefslogtreecommitdiffstats
path: root/common/command.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:55 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:55 +0200
commit58c377438170d4dfc54b7e706046f3ac1b485d47 (patch)
treee8fff684cb3a1521e28d2bc0b4e37b3a5af2a9f9 /common/command.c
parent74d709a6dce5ca55463b28e8611db2f6a4376941 (diff)
downloadbarebox-58c377438170d4dfc54b7e706046f3ac1b485d47.tar.gz
barebox-58c377438170d4dfc54b7e706046f3ac1b485d47.tar.xz
svn_rev_459
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index 12f2715ef5..3e5440e816 100644
--- a/common/command.c
+++ b/common/command.c
@@ -74,7 +74,7 @@ U_BOOT_CMD_END
int
do_readline (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- char *buf = xmalloc(CONFIG_CBSIZE);
+ char *buf = xzalloc(CONFIG_CBSIZE);
if (argc < 3) {
printf ("Usage:\n%s\n", cmdtp->usage);