summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2012-02-05 00:16:13 +0100
committerPaul Buetow <paul@buetow.org>2012-02-05 00:16:13 +0100
commit8a40955d3234bf29c01ea29b223be9a63eb5074f (patch)
tree9254d9746175f13d293a81e18bdaf80d9ca8101c
parent7c48c5216f13fe80dd5c0a44e96da95d8162e684 (diff)
Rename thread sub
-rwxr-xr-xloadbars4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadbars b/loadbars
index 228da73..9e9e527 100755
--- a/loadbars
+++ b/loadbars
@@ -171,7 +171,7 @@ sub read_config () {
close $conffile;
}
-sub thread_get_stats ($;$) {
+sub stats_thread ($;$) {
my ( $host, $user ) = @_;
$user = defined $user ? "-l $user" : '';
@@ -316,7 +316,7 @@ sub draw_background ($$) {
sub create_threads (@) {
return
map { $_->detach(); $_ }
- map { threads->create( 'thread_get_stats', split ':' ) } @_;
+ map { threads->create( 'stats_thread', split ':' ) } @_;
}
sub auto_off_text ($) {