perf newt: Properly restore the screen when error exiting
Show an OK message box with the last message sent via pr_err, etc. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1269274229-20442-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
301fde27c7
commit
f3a1f0ea94
@@ -77,10 +77,10 @@ static inline void setup_browser(void)
|
||||
{
|
||||
setup_pager();
|
||||
}
|
||||
static inline void exit_browser(void) {}
|
||||
static inline void exit_browser(bool wait_for_ok __used) {}
|
||||
#else
|
||||
void setup_browser(void);
|
||||
void exit_browser(void);
|
||||
void exit_browser(bool wait_for_ok);
|
||||
#endif
|
||||
|
||||
extern const char *editor_program;
|
||||
|
Reference in New Issue
Block a user