From 7abd00d7ebf1e2e5ac36cde98ba09da035a43b0a Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Sat, 13 Aug 2011 08:03:51 +0900 Subject: [PATCH] [MINOR] Fix build error in stream_int_register_handler() There is no parameter or variable fct in stream_int_register_handler() so the build fails when DPRINTF is active. --- src/stream_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_interface.c b/src/stream_interface.c index d4bf1b895..350a47b58 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -306,7 +306,7 @@ void stream_int_chk_snd(struct stream_interface *si) */ struct task *stream_int_register_handler(struct stream_interface *si, struct si_applet *app) { - DPRINTF(stderr, "registering handler %p for si %p (was %p)\n", fct, si, si->owner); + DPRINTF(stderr, "registering handler %p for si %p (was %p)\n", app, si, si->owner); si->update = stream_int_update_embedded; si->shutr = stream_int_shutr;