From 18f67947743cf36b15ac74fe27a388f2f7a441e3 Mon Sep 17 00:00:00 2001 From: "pbuetow (lap824)" Date: Sat, 28 Jan 2012 16:12:35 +0100 Subject: : --- loadbars | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/loadbars b/loadbars index 082879c..f6879f3 100755 --- a/loadbars +++ b/loadbars @@ -88,6 +88,7 @@ sub null ($) { defined $_[0] ? $_[0] : 0 } sub notnull ($) { $_[0] != 0 ? $_[0] : 1 } sub set_showcores_regexp () { $C{cpuregexp} = $C{showcores} ? 'cpu' : 'cpu ' } sub error ($) { die shift, "\n" } +sub display_info ($) { say "==> " . shift } sub percentage ($$) { my ($total, $part) = @_; @@ -255,10 +256,6 @@ sub create_threads (@) { } @_; } -sub display_info ($) { - say "==> " . shift; -} - sub auto_off_text ($) { my ($barwidth) = @_; -- cgit v1.2.3