diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-15 14:59:14 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-18 23:08:23 +0100 |
commit | 6506db78c1bc2d907cbdbe3560312a1b620afd16 (patch) | |
tree | 7fe52bfd6c3b4eb2c44bf950769e4e14f5d1e6a5 /host/ausb | |
parent | 506b033dd2ca8e4625f50f1dbafd2ce171fe03b8 (diff) |
ausb: make ausb_test compile again
Diffstat (limited to 'host/ausb')
-rw-r--r-- | host/ausb/Makefile | 2 | ||||
-rw-r--r-- | host/ausb/ausb_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/ausb/Makefile b/host/ausb/Makefile index 6269739..fa42f1f 100644 --- a/host/ausb/Makefile +++ b/host/ausb/Makefile @@ -14,7 +14,7 @@ libausb.so: $(OBJS) %.o: %.c $(CC) $(CFLAGS) -o $@ -c $^ -ausb_test: ausb_test.o ausb.o +ausb_test: ausb_test.o libausb.a $(CC) $(CFLAGS) -lusb -o $@ $^ clean: diff --git a/host/ausb/ausb_test.c b/host/ausb/ausb_test.c index f7bfdee..db4f0ab 100644 --- a/host/ausb/ausb_test.c +++ b/host/ausb/ausb_test.c @@ -33,7 +33,7 @@ static void int_cb(struct usbdevfs_urb *uurb) { struct ausb_dev_handle *ah = uurb->usercontext; - fprintf(stdout, __FUNCTION__ " called, "); + fprintf(stdout, "int_cb() called, "); ausb_dump_urb(uurb); |