test_ipc: fix memeater spawn
This commit is contained in:
parent
ac171a2851
commit
6b77ee35e4
@ -3,9 +3,9 @@
|
|||||||
#include <spawn/spawn.h>
|
#include <spawn/spawn.h>
|
||||||
|
|
||||||
void do_test_ipc(void) {
|
void do_test_ipc(void) {
|
||||||
struct spawninfo si;
|
struct spawninfo *si = malloc(sizeof(struct spawninfo));
|
||||||
domainid_t pid;
|
domainid_t *pid = malloc(sizeof(domainid_t));
|
||||||
|
|
||||||
CHECK_ERR(spawn_load_by_name("memeater", &si, &pid));
|
CHECK_ERR(spawn_load_by_name("memeater", si, pid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user