Skip to content

Commit

Permalink
9p: fix p9_printfcall export
Browse files Browse the repository at this point in the history
ERROR: "p9_printfcall" [net/9p/9pnet_virtio.ko] undefined!

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Andrew Morton authored and Eric Van Hensbergen committed Feb 7, 2008
1 parent 8a0dc95 commit 7276744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/9p/fcprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,12 +347,12 @@ p9_printfcall(char *buf, int buflen, struct p9_fcall *fc, int extended)

return ret;
}

#else
int
p9_printfcall(char *buf, int buflen, struct p9_fcall *fc, int extended)
{
return 0;
}
EXPORT_SYMBOL(p9_printfcall);
#endif /* CONFIG_NET_9P_DEBUG */
EXPORT_SYMBOL(p9_printfcall);

0 comments on commit 7276744

Please sign in to comment.