summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbuetow (lap824) <puppet@mx.buetow.org>2012-01-22 14:25:46 +0100
committerpbuetow (lap824) <puppet@mx.buetow.org>2012-01-22 14:25:46 +0100
commit51d265564fb18eea18e8102de0bdd10a5c621306 (patch)
tree73a00031587f47714f1bf61de7def810360d3e83
parenta6ddff3aead108703bb71f07c7680eb3a3ddf14e (diff)
small fix
-rwxr-xr-xloadbars2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadbars b/loadbars
index ba1f0f6..337ecbc 100755
--- a/loadbars
+++ b/loadbars
@@ -91,7 +91,7 @@ sub error ($) { die shift, "\n" }
sub percentage ($$) {
my ($total, $part) = @_;
- return int (null $part / notnull ( null $total / 100 ));
+ return int (null($part) / notnull ( null($total) / 100 ));
}
sub norm ($) {