aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firemon/top.c')
-rw-r--r--src/firemon/top.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/firemon/top.c b/src/firemon/top.c
index a6da6f64e..94271523c 100644
--- a/src/firemon/top.c
+++ b/src/firemon/top.c
@@ -232,9 +232,6 @@ void head_print(int col, int row) {
232} 232}
233 233
234void top(void) { 234void top(void) {
235 if (getuid() == 0)
236 firemon_drop_privs();
237
238 while (1) { 235 while (1) {
239 // clear linked list 236 // clear linked list
240 head_clear(); 237 head_clear();
@@ -295,6 +292,9 @@ void top(void) {
295 } 292 }
296 } 293 }
297 head_print(col, row); 294 head_print(col, row);
295#ifdef HAVE_GCOV
296 __gcov_flush();
297#endif
298 } 298 }
299} 299}
300 300