summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ($) {