diff options
author | rrs <rrs@FreeBSD.org> | 2006-11-03 23:04:34 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2006-11-03 23:04:34 +0000 |
commit | 9fe01d5c9e750d0622b816574fb14f9c0f043cac (patch) | |
tree | e367e1e0f4d06bc2bc385f3448907b4d959b06bc /sys/netinet/sctp_usrreq.c | |
parent | 61e78b6cd475e4262329819ad4d529239b9dab6f (diff) | |
download | FreeBSD-src-9fe01d5c9e750d0622b816574fb14f9c0f043cac.zip FreeBSD-src-9fe01d5c9e750d0622b816574fb14f9c0f043cac.tar.gz |
More 64 bit pointer fun.
%p changed in multiple prints
the mtod() was also fixed.
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r-- | sys/netinet/sctp_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index 3ba8179..63097a8 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -3131,7 +3131,7 @@ sctp_optsset(struct socket *so, error = EINVAL; break; } - on_off = (mtod(m, int)); + on_off = *(mtod(m, int *)); if (on_off) { sctp_feature_on(inp, SCTP_PCB_FLAGS_FRAG_INTERLEAVE); } else { |