summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/sys/socket.h')
-rw-r--r--cpukit/libnetworking/sys/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
index c56fc9d320..e6187f299f 100644
--- a/cpukit/libnetworking/sys/socket.h
+++ b/cpukit/libnetworking/sys/socket.h
@@ -167,7 +167,7 @@ struct sockaddr {
*/
struct sockproto {
unsigned short sp_family; /* address family */
- uusigned short sp_protocol; /* protocol */
+ unsigned short sp_protocol; /* protocol */
};
/*
@@ -343,7 +343,7 @@ struct omsghdr {
int msg_namelen; /* size of address */
struct iovec *msg_iov; /* scatter/gather array */
int msg_iovlen; /* # elements in msg_iov */
- void *msg_accrights; /* access rights sent/received */
+ char *msg_accrights; /* access rights sent/received */
int msg_accrightslen;
};