summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) = @_;