diff options
| author | Sridhar Samudrala <sri@us.ibm.com> | 2004-05-03 09:02:10 -0700 |
|---|---|---|
| committer | Sridhar Samudrala <sridhar@dyn9-47-18-140.beaverton.ibm.com> | 2004-05-03 09:02:10 -0700 |
| commit | 710339889f1a42bb3455144e6069a79a89074b72 (patch) | |
| tree | 8ffb598ed96539b4760ff405b79fa1a3a134abf0 /net/sctp/ulpqueue.c | |
| parent | c969a2a3d4cd89da6653ba333135da5ffc94f63f (diff) | |
[SCTP] Fix memset() parameter ordering.
Diffstat (limited to 'net/sctp/ulpqueue.c')
| -rw-r--r-- | net/sctp/ulpqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index 961669a14917..0b912c87e6cd 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c @@ -79,7 +79,7 @@ fail: struct sctp_ulpq *sctp_ulpq_init(struct sctp_ulpq *ulpq, struct sctp_association *asoc) { - memset(ulpq, sizeof(struct sctp_ulpq), 0x00); + memset(ulpq, 0, sizeof(struct sctp_ulpq)); ulpq->asoc = asoc; skb_queue_head_init(&ulpq->reasm); |
