diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-01-17 11:55:17 -0800 |
---|---|---|
committer | Sridhar Samudrala <sri@us.ibm.com> | 2006-01-17 11:55:17 -0800 |
commit | 8116ffad4180b39d7a755345c1fde09da83930c0 (patch) | |
tree | c99ff688ff5a4602c2c8ed52bd2e17d8273e64a6 /net/sctp/transport.c | |
parent | 38b0e42aba928d9929a26ec23b850c36a31fca5f (diff) | |
download | op-kernel-dev-8116ffad4180b39d7a755345c1fde09da83930c0.zip op-kernel-dev-8116ffad4180b39d7a755345c1fde09da83930c0.tar.gz |
[SCTP]: Fix bad sysctl formatting of SCTP timeout values on 64-bit m/cs.
Change all the structure members that hold jiffies to be of type
unsigned long. This also corrects bad sysctl formating on 64 bit
architectures.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp/transport.c')
-rw-r--r-- | net/sctp/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index 68d73e2..160f62a 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -350,7 +350,7 @@ void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) tp->rto_pending = 0; SCTP_DEBUG_PRINTK("%s: transport: %p, rtt: %d, srtt: %d " - "rttvar: %d, rto: %d\n", __FUNCTION__, + "rttvar: %d, rto: %ld\n", __FUNCTION__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); } |