From 6506db78c1bc2d907cbdbe3560312a1b620afd16 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 15 Nov 2010 14:59:14 +0100 Subject: ausb: make ausb_test compile again --- host/ausb/Makefile | 2 +- host/ausb/ausb_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'host') 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); -- cgit v1.2.3