diff --git a/drivers/examples/test/Makefile b/drivers/examples/test/Makefile index c6bc293e77..ac7e5704d5 100644 --- a/drivers/examples/test/Makefile +++ b/drivers/examples/test/Makefile @@ -1,7 +1,7 @@ -KTCC=../../../programs/develop/ktcc/trunk/bin/kos32-tcc +KTCC=kos32-tcc KPACK = kpack -KLIBC = ../../../programs/develop/libraries/kolibri-libc +KLIBC = ../../../programs/develop/ktcc/trunk/libc.obj CFLAGS = -I $(KLIBC)/include LDFLAGS = -nostdlib -L$(KLIBC)/lib $(KLIBC)/lib/crt0.o diff --git a/drivers/examples/test/drv_test.c b/drivers/examples/test/drv_test.c index 1618c3f590..42c5f5d5d3 100644 --- a/drivers/examples/test/drv_test.c +++ b/drivers/examples/test/drv_test.c @@ -43,7 +43,7 @@ int main(int argc, char** argv){ add_struct.a = 43; add_struct.b = 532; - ksys_drv_ctl_t ioctl; + ksys_ioctl_t ioctl; ioctl.func_num = DRV_ADD_FUNC; ioctl.handler = drv; ioctl.in_data_ptr = &add_struct;