summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-08 06:54:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-08 06:54:10 -0600
commit57057b6e60b94b94a995a226951d80eb982ec904 (patch)
tree70fe664ac173c4f42d9b8c822115acd7784004f4
parent9c790200e0edde362feb9a4848f707a032e58113 (diff)
downloadnuttx-57057b6e60b94b94a995a226951d80eb982ec904.tar.gz
nuttx-57057b6e60b94b94a995a226951d80eb982ec904.tar.bz2
nuttx-57057b6e60b94b94a995a226951d80eb982ec904.zip
Fix typo in iob.h
-rw-r--r--nuttx/include/nuttx/net/iob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/net/iob.h b/nuttx/include/nuttx/net/iob.h
index 47d533662..0fbe4f6fc 100644
--- a/nuttx/include/nuttx/net/iob.h
+++ b/nuttx/include/nuttx/net/iob.h
@@ -56,7 +56,7 @@
/* IOB helpers */
-#define IOB_DATA(p) (&(p)-io_data[(p)->io_offset])
+#define IOB_DATA(p) (&(p)->io_data[(p)->io_offset])
#define IOB_FREESPACE(p) (CONFIG_IOB_BUFSIZE - (p)->io_len - (p)->io_offset)
/* Queue helpers */