X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fcmdline.c;h=117bca0082f989dc90d102e35f871f7e7e2a2d2f;hp=ec50f4fd0280a71dfffaf2a26c766043f6f39fef;hb=afaf577190536fe8e15fb5b2ed8372dbda82e7b1;hpb=2ad0d7649e5042cad43a16b4a03bf53f39948316 diff --git a/second/cmdline.c b/second/cmdline.c index ec50f4f..117bca0 100644 --- a/second/cmdline.c +++ b/second/cmdline.c @@ -1,7 +1,7 @@ /* * cmdline.c - Prompt handling * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001, 2002 Ethan Benson * * Adapted from SILO * @@ -52,7 +52,7 @@ void cmdedit (void (*tabfunc) (void), int password) } if (!password) prom_printf(buff, x); - + for (;;) { c = prom_getchar (); if (c == -1)