Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
403307c4
Commit
403307c4
authored
Aug 28, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/sctp/sctp_socket.c: Fix printf string for size_t.
- also fix sctp.h declaration type of sctp_get_port
parent
3ec411f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/net/sctp/sctp.h
include/net/sctp/sctp.h
+1
-1
net/sctp/sctp_socket.c
net/sctp/sctp_socket.c
+1
-1
No files found.
include/net/sctp/sctp.h
View file @
403307c4
...
...
@@ -123,7 +123,7 @@ extern int sctp_copy_local_addr_list(sctp_protocol_t *, sctp_bind_addr_t *,
*/
extern
int
sctp_backlog_rcv
(
struct
sock
*
sk
,
struct
sk_buff
*
skb
);
extern
int
sctp_inet_listen
(
struct
socket
*
sock
,
int
backlog
);
extern
int
sctp_get_port
(
struct
sock
*
sk
,
unsigned
short
snum
);
extern
long
sctp_get_port
(
struct
sock
*
sk
,
unsigned
short
snum
);
extern
void
sctp_write_space
(
struct
sock
*
sk
);
extern
unsigned
int
sctp_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
);
...
...
net/sctp/sctp_socket.c
View file @
403307c4
...
...
@@ -800,7 +800,7 @@ int sctp_sendmsg(struct sock *sk, struct msghdr *msg, int size)
associd
=
sinfo
->
sinfo_assoc_id
;
}
SCTP_DEBUG_PRINTK
(
"msg_len: %d, sinfo_flags: 0x%x
\n
"
,
SCTP_DEBUG_PRINTK
(
"msg_len: %
Z
d, sinfo_flags: 0x%x
\n
"
,
msg_len
,
sinfo_flags
);
/* If MSG_EOF|MSG_ABORT is set, no data can be sent. Disallow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment