timestamping: fix example build
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 12 Mar 2010 19:23:27 +0000 (19:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 23:00:46 +0000 (16:00 -0700)
commitf28f9e43b3d81d1e69da0ebf77c8a6780cb5e0c8
tree691df61b8d3456f1e952df04926f09b91827b39b
parent876e956f207373f974f2808c36aabcd4e32c9ee4
timestamping: fix example build

Fix Makefiles so that Documentation/networking/timestamping/timestamping.c
will build when using the CONFIG_BUILD_DOCSRC kconfig option.
(timestamping.c does not build currently with its simple Makefile.)

Also fix printf format warnings.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/Makefile
Documentation/networking/timestamping/Makefile
Documentation/networking/timestamping/timestamping.c