Commit-ID:  7f3e508ee1e6cc1b5865edcbf04a14a76ff1534c
Gitweb:     http://git.kernel.org/tip/7f3e508ee1e6cc1b5865edcbf04a14a76ff1534c
Author:     zhangdianfang <[email protected]>
AuthorDate: Fri, 30 May 2014 08:53:58 +0800
Committer:  Jiri Olsa <[email protected]>
CommitDate: Tue, 3 Jun 2014 21:34:48 +0200

perf tools: Fix "==" into "=" in ui_browser__warning assignment

Convert "==" into "=" in ui_browser__warning assignment.

Bug description: https://bugzilla.kernel.org/show_bug.cgi?id=76751

Reported-by: David Binderman <[email protected]>
Signed-off-by: Dianfang Zhang <[email protected]>
Acked-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jean Delvare <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ changed the changelog a bit ]
Signed-off-by: Jiri Olsa <[email protected]>
---
 tools/perf/ui/browser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/ui/browser.c b/tools/perf/ui/browser.c
index d11541d..3ccf6e1 100644
--- a/tools/perf/ui/browser.c
+++ b/tools/perf/ui/browser.c
@@ -194,7 +194,7 @@ int ui_browser__warning(struct ui_browser *browser, int 
timeout,
                ui_helpline__vpush(format, args);
                va_end(args);
        } else {
-               while ((key == ui__question_window("Warning!", text,
+               while ((key = ui__question_window("Warning!", text,
                                                   "Press any key...",
                                                   timeout)) == K_RESIZE)
                        ui_browser__handle_resize(browser);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to