From 4fa07bd8fafdd5eb64dfe11f43bb420aec5b5f50 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 27 Oct 2010 00:04:50 +0200 Subject: whitespace fix Signed-off-by: Denys Vlasenko --- procps/powertop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'procps') diff --git a/procps/powertop.c b/procps/powertop.c index 8b03a4d..5e028f0 100644 --- a/procps/powertop.c +++ b/procps/powertop.c @@ -689,8 +689,8 @@ static void show_timerstats(void) // no ACPI power usage estimate available // // Top causes for wakeups: -// 32.4% ( 26.7) : extra timer interrupt -// 29.0% ( 23.9) : hrtimer_start_range_ns (tick_sched_timer) +// 32.4% ( 26.7) : extra timer interrupt +// 29.0% ( 23.9) : hrtimer_start_range_ns (tick_sched_timer) // 9.0% ( 7.5) : hrtimer_start (tick_sched_timer) // 6.5% ( 5.3) : ata_piix // 5.0% ( 4.1) inetd : hrtimer_start_range_ns (hrtimer_wakeup) -- cgit v1.1 From 3c99d59b5dd4a4dfbcdf5b98f7a9944bff9c925c Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 27 Oct 2010 02:25:16 +0200 Subject: top: Use _exit() instead of exit() in sighandler Signed-off-by: Marek Polacek Signed-off-by: Denys Vlasenko --- procps/top.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/top.c b/procps/top.c index 4f37878..f9106fa 100644 --- a/procps/top.c +++ b/procps/top.c @@ -649,8 +649,9 @@ static void reset_term(void) static void sig_catcher(int sig UNUSED_PARAM) { reset_term(); - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } + #endif /* FEATURE_USE_TERMIOS */ /* -- cgit v1.1