fix compile

This commit is contained in:
Doug MacEachern 2007-08-11 02:23:16 +00:00
parent 14f8285648
commit a5369460aa
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ int ptql_test(sigar_t *sigar, char *ptql) {
}
status =
sigar_ptql_query_create(sigar, &query, ptql);
sigar_ptql_query_create(&query, ptql);
if (status != SIGAR_OK) {
return status;
@ -32,7 +32,7 @@ int ptql_test(sigar_t *sigar, char *ptql) {
sigar_proc_list_destroy(sigar, &proclist);
sigar_ptql_query_destroy(sigar, query);
sigar_ptql_query_destroy(query);
return 0;
}