CLI: Fix command history traversal
authorMatt Fleming <matt.fleming@intel.com>
Thu, 1 Nov 2012 10:56:06 +0000 (10:56 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 2 Nov 2012 14:06:20 +0000 (14:06 +0000)
commitc7381a5cef7f38e0176b8bc90e7ca54c4d0711d2
treeff8c9917a7860c4a4f9816b35b3d4baf07d7cf31
parente55d4988880a538fa81fe6bb2bf4fd5604174f06
CLI: Fix command history traversal

The up/down keys were broken with respect to traversing through the
command history because it was dereferencing a NULL pointer on the
first iteration.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/cli.c