ia64/xen-unstable

changeset 17006:390707dd4c2f

[IA64] Make xenitp more '|tee' friendly

Flush stdout after printing the prompt.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Wed Feb 13 10:34:18 2008 -0700 (2008-02-13)
parents 9203ee23e724
children ef67e2867b44
files tools/debugger/xenitp/xenitp.c
line diff
     1.1 --- a/tools/debugger/xenitp/xenitp.c	Thu Feb 07 11:08:49 2008 -0700
     1.2 +++ b/tools/debugger/xenitp/xenitp.c	Wed Feb 13 10:34:18 2008 -0700
     1.3 @@ -1577,6 +1577,7 @@ void xenitp (int vcpu)
     1.4          int len;
     1.5  
     1.6          printf ("XenITP> ");
     1.7 +        fflush (stdout);
     1.8  
     1.9          if (fgets (buf, sizeof (buf), stdin) == NULL)
    1.10              break;