Don't dump core.
This commit is contained in:
@@ -215,14 +215,14 @@ sub output {
|
|||||||
$feature, $call_param);
|
$feature, $call_param);
|
||||||
} elsif ($line_fields[3] eq 'array') {
|
} elsif ($line_fields[3] eq 'array') {
|
||||||
$call_code = sprintf
|
$call_code = sprintf
|
||||||
("\tretval = glibtop_get_%s_p (server, array%s);\n",
|
("\tretval = glibtop_get_%s_p (server, &array%s);\n",
|
||||||
$feature, $call_param);
|
$feature, $call_param);
|
||||||
$local_var_decl_code .= sprintf (qq[\tglibtop_array *array;\n]);
|
$local_var_decl_code .= sprintf (qq[\tglibtop_array array;\n]);
|
||||||
} elsif ($line_fields[3] =~ /^array/) {
|
} elsif ($line_fields[3] =~ /^array/) {
|
||||||
$call_code = sprintf
|
$call_code = sprintf
|
||||||
("\tretval = glibtop_get_%s_p (server, array, &%s%s);\n",
|
("\tretval = glibtop_get_%s_p (server, &array, &%s%s);\n",
|
||||||
$feature, $feature, $call_param);
|
$feature, $feature, $call_param);
|
||||||
$local_var_decl_code .= sprintf (qq[\tglibtop_array *array;\n]);
|
$local_var_decl_code .= sprintf (qq[\tglibtop_array array;\n]);
|
||||||
} else {
|
} else {
|
||||||
$call_code = sprintf
|
$call_code = sprintf
|
||||||
("\tretval = glibtop_get_%s_p (server, &%s%s);\n",
|
("\tretval = glibtop_get_%s_p (server, &%s%s);\n",
|
||||||
|
Reference in New Issue
Block a user