summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/q2110_sigcpcs.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-02-23 22:26:39 +0000
committerobrien <obrien@FreeBSD.org>2003-02-23 22:26:39 +0000
commit9e9a8e4f69fd3a29422980ec3afff8db3d1b4335 (patch)
treec959e1223de699b635d1e54fb59145b4eb917919 /sys/netatm/uni/q2110_sigcpcs.c
parent76e7d7e7b73fccbbb65827f7257fdc2fa166710e (diff)
downloadFreeBSD-src-9e9a8e4f69fd3a29422980ec3afff8db3d1b4335.zip
FreeBSD-src-9e9a8e4f69fd3a29422980ec3afff8db3d1b4335.tar.gz
There is no reason to be cute with ntohl(). Just call it directly rather
than use a macro that tries to do conversions in place. Compile tested on: sparc64
Diffstat (limited to 'sys/netatm/uni/q2110_sigcpcs.c')
-rw-r--r--sys/netatm/uni/q2110_sigcpcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/q2110_sigcpcs.c b/sys/netatm/uni/q2110_sigcpcs.c
index 1aaaf4d..35444ad 100644
--- a/sys/netatm/uni/q2110_sigcpcs.c
+++ b/sys/netatm/uni/q2110_sigcpcs.c
@@ -1729,7 +1729,7 @@ sscop_poll_ready(sop, m, trlr)
struct poll_pdu *pp = (struct poll_pdu *)trlr;
sscop_seq nps;
- NTOHL(pp->poll_ns);
+ pp->poll_ns = ntohl(pp->poll_ns);
/*
* If the poll sequence number is less than highest number
OpenPOWER on IntegriCloud