diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-12-15 16:16:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-12-15 16:16:47 +0000 |
commit | abf5c6d408b08edc0c49ec42a26137385c0dce2f (patch) | |
tree | dd090c3d95a34f72652de6e46a08357c1c263ff4 | |
parent | cfec8dbee1943bbb7c17abf0aaf73fc244d2d2bd (diff) | |
download | drakx-abf5c6d408b08edc0c49ec42a26137385c0dce2f.tar drakx-abf5c6d408b08edc0c49ec42a26137385c0dce2f.tar.gz drakx-abf5c6d408b08edc0c49ec42a26137385c0dce2f.tar.bz2 drakx-abf5c6d408b08edc0c49ec42a26137385c0dce2f.tar.xz drakx-abf5c6d408b08edc0c49ec42a26137385c0dce2f.zip |
fix bug (detected by perl_checker!)
-rw-r--r-- | perl-install/commands.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm index bf61ac05d..de2f23136 100644 --- a/perl-install/commands.pm +++ b/perl-install/commands.pm @@ -244,7 +244,7 @@ $pid, $rss, $cpu, $cmd my @l = split(' ', cat_("/proc/$pid/stat")); $cpu = sprintf "%2.1f", max(0, min(99, ($l[13] + $l[14]) * 100 / $hertz / ($uptime - $l[21] / $hertz))); $rss = (split ' ', cat_("/proc/$pid/stat"))[23] * $page; - (($cmd) = cat_("/proc/$pid/cmdline")) =~ s/\0/ /g; + ($cmd = cat_("/proc/$pid/cmdline")) =~ s/\0/ /g; $cmd ||= (split ' ', (cat_("/proc/$pid/stat"))[0])[1]; write PS; } |