summaryrefslogtreecommitdiff
path: root/host/ausb
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-11-15 14:59:14 +0100
committerHarald Welte <laforge@gnumonks.org>2010-11-15 14:59:14 +0100
commit815283e30574fb25cfdd105970387bbd9ae10394 (patch)
treeb21702fe9fca3de76f7cd11bd03c35989378b8d7 /host/ausb
parent9520b0bea118668d81e3e1a53cdc2e1b43f169f9 (diff)
ausb: make ausb_test compile again
Diffstat (limited to 'host/ausb')
-rw-r--r--host/ausb/Makefile2
-rw-r--r--host/ausb/ausb_test.c2
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);
personal git repositories of Harald Welte. Your mileage may vary