diff --git a/Makefile b/Makefile index 7322466..b2aff0c 100644 --- a/Makefile +++ b/Makefile @@ -16,10 +16,10 @@ $(LIB): $(OBJS) $(AR) rvc $(LIB) $? testyield: testyield.c $(LIB) - $(CC) $(CFLAGS) -o $@ testyield.c $(LIB) + $(CC) $(CFLAGS) -o $@ testyield.c $(LIB) -lm testdelay: testdelay.c $(LIB) - $(CC) $(CFLAGS) -o $@ testdelay.c $(LIB) + $(CC) $(CFLAGS) -o $@ testdelay.c $(LIB) -lm test: testyield testdelay diff --git a/testdelay.c b/testdelay.c index d25b491..bd5c6a7 100644 --- a/testdelay.c +++ b/testdelay.c @@ -30,7 +30,7 @@ main(int argc, char** argv) (void) argc; (void) argv; - coio_create(_t1, NULL, 0x8000); + coio_create("t1", _t1, NULL, 0x8000); if (coio_main() < 0) { printf("Deadlocked\n"); diff --git a/testyield.c b/testyield.c index ac1b4a2..b1d0cdd 100644 --- a/testyield.c +++ b/testyield.c @@ -38,8 +38,8 @@ main(int argc, char** argv) (void) argc; (void) argv; - coio_create(_t1, NULL, 0x8000); - coio_create(_t2, NULL, 0x8000); + coio_create("t1", _t1, NULL, 0x8000); + coio_create("t2", _t2, NULL, 0x8000); if (coio_main() < 0) { printf("Deadlocked\n");