summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbuetow (lap824) <puppet@mx.buetow.org>2012-01-28 16:12:35 +0100
committerpbuetow (lap824) <puppet@mx.buetow.org>2012-01-28 16:12:35 +0100
commit18f67947743cf36b15ac74fe27a388f2f7a441e3 (patch)
tree68f55370de934ef75c9915fde012ada6a74a4c2f
parentc5d4e000830838e50506f52c4b76f97037395b03 (diff)
:
-rwxr-xr-xloadbars5
1 files changed, 1 insertions, 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) = @_;