projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf86ba
)
doc: fix checking socket() in net tstamp example
author
Ali Gholami Rudi
<ali@rudi.ir>
Sun, 8 Nov 2009 15:59:23 +0000
(19:29 +0330)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 4 Feb 2010 10:55:46 +0000
(11:55 +0100)
Signed-off-by: Ali Gholami Rudi <ali@rudi.ir>
Acked-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/networking/timestamping/timestamping.c
patch
|
blob
|
history
diff --git
a/Documentation/networking/timestamping/timestamping.c
b/Documentation/networking/timestamping/timestamping.c
index a7936fe8444a1830b5f57eccaf4ca610a42db358..bab619a482145e9a08ecc62f674d9c6bb05110cc 100644
(file)
--- a/
Documentation/networking/timestamping/timestamping.c
+++ b/
Documentation/networking/timestamping/timestamping.c
@@
-370,7
+370,7
@@
int main(int argc, char **argv)
}
sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
- if (sock
et
< 0)
+ if (sock < 0)
bail("socket");
memset(&device, 0, sizeof(device));