diff --git a/3.0/lib/proc.pm b/3.0/lib/proc.pm index 4f122de..7f055b9 100644 --- a/3.0/lib/proc.pm +++ b/3.0/lib/proc.pm @@ -355,11 +355,11 @@ sub proc_cgi { while($n < $ncpu) { if($title) { if($n == 0) { - main::graph_header($title, $proc->{per_row}); + main::graph_header($title, $proc->{graphs_per_row}); } print(" \n"); } - for($n2 = 0; $n2 < $proc->{per_row}; $n2++) { + for($n2 = 0; $n2 < $proc->{graphs_per_row}; $n2++) { last unless $n < $ncpu; if($title) { print(" \n");