Minor fix to pobj test programs to comply with new init function.
This commit is contained in:
parent
36a0821acf
commit
3e720695a6
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ main (int argc, char **argv)
|
|||
struct item *tmp, *next;
|
||||
int i;
|
||||
|
||||
switch (pobj_init (NULL)) {
|
||||
switch (pobj_init (NULL, NULL)) {
|
||||
case 0:
|
||||
printf ("first-time init\n");
|
||||
/* Build list. */
|
||||
|
|
|
@ -79,7 +79,7 @@ int main(int argc, char **argv) {
|
|||
if (argc > 1) {
|
||||
num = atoi(argv[1]);
|
||||
}
|
||||
if (pobj_init(NULL) == 0) {
|
||||
if (pobj_init(NULL, NULL) == 0) {
|
||||
pthread_t threads[num];
|
||||
int ids[num];
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue