summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-11-15 14:59:14 +0100
committerHarald Welte <laforge@gnumonks.org>2010-11-18 23:08:23 +0100
commit6506db78c1bc2d907cbdbe3560312a1b620afd16 (patch)
tree7fe52bfd6c3b4eb2c44bf950769e4e14f5d1e6a5
parent506b033dd2ca8e4625f50f1dbafd2ce171fe03b8 (diff)
ausb: make ausb_test compile again
-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