diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:55 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:55 +0200 |
commit | 58c377438170d4dfc54b7e706046f3ac1b485d47 (patch) | |
tree | e8fff684cb3a1521e28d2bc0b4e37b3a5af2a9f9 /common | |
parent | 74d709a6dce5ca55463b28e8611db2f6a4376941 (diff) | |
download | barebox-58c377438170d4dfc54b7e706046f3ac1b485d47.tar.gz barebox-58c377438170d4dfc54b7e706046f3ac1b485d47.tar.xz |
svn_rev_459
Diffstat (limited to 'common')
-rw-r--r-- | common/command.c | 2 |
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); |