Bring mtest putc() into common code
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 17:33:19 +0000 (17:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:22 +0000 (19:09 -0800)
commitc44d4386e67ac6dd57ddd60fdde54bf7ed581b6e
treea0cc65c6f976e3c0742329357c71433d8424a237
parent7ecbd4d70842362c3a8ad9393e9d9aab7e13afbf
Bring mtest putc() into common code

If we get a Ctrl-C abort, we always print a newline. Move this repeated
code out of the functions and into a single place in the caller.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_mem.c