git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
[sfrench/cifs-2.6.git]
/
Documentation
/
networking
/
timestamping
/
timestamping.c
diff --git
a/Documentation/networking/timestamping/timestamping.c
b/Documentation/networking/timestamping/timestamping.c
index bab619a482145e9a08ecc62f674d9c6bb05110cc..8ba82bfe6a33c57d54adcde8d7c3e1977926d565 100644
(file)
--- a/
Documentation/networking/timestamping/timestamping.c
+++ b/
Documentation/networking/timestamping/timestamping.c
@@
-41,9
+41,9
@@
#include <arpa/inet.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <net/if.h>
-#include
"asm/types.h"
-#include
"linux/net_tstamp.h"
-#include
"linux/errqueue.h"
+#include
<asm/types.h>
+#include
<linux/net_tstamp.h>
+#include
<linux/errqueue.h>
#ifndef SO_TIMESTAMPING
# define SO_TIMESTAMPING 37
#ifndef SO_TIMESTAMPING
# define SO_TIMESTAMPING 37
@@
-164,7
+164,7
@@
static void printpacket(struct msghdr *msg, int res,
gettimeofday(&now, 0);
gettimeofday(&now, 0);
- printf("%ld.%06ld: received %s data, %d bytes from %s, %
d
bytes control messages\n",
+ printf("%ld.%06ld: received %s data, %d bytes from %s, %
zu
bytes control messages\n",
(long)now.tv_sec, (long)now.tv_usec,
(recvmsg_flags & MSG_ERRQUEUE) ? "error" : "regular",
res,
(long)now.tv_sec, (long)now.tv_usec,
(recvmsg_flags & MSG_ERRQUEUE) ? "error" : "regular",
res,
@@
-173,7
+173,7
@@
static void printpacket(struct msghdr *msg, int res,
for (cmsg = CMSG_FIRSTHDR(msg);
cmsg;
cmsg = CMSG_NXTHDR(msg, cmsg)) {
for (cmsg = CMSG_FIRSTHDR(msg);
cmsg;
cmsg = CMSG_NXTHDR(msg, cmsg)) {
- printf(" cmsg len %
d
: ", cmsg->cmsg_len);
+ printf(" cmsg len %
zu
: ", cmsg->cmsg_len);
switch (cmsg->cmsg_level) {
case SOL_SOCKET:
printf("SOL_SOCKET ");
switch (cmsg->cmsg_level) {
case SOL_SOCKET:
printf("SOL_SOCKET ");