summaryrefslogtreecommitdiffstats
path: root/usr.sbin/trpt
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-15 09:36:46 +0000
committerdes <des@FreeBSD.org>2002-05-15 09:36:46 +0000
commit81c41451d4049389d042129c7469179e2a37cc99 (patch)
tree021746f159a355960872fcb2bb0081a45d99d729 /usr.sbin/trpt
parent8d313628ef87e2ead813465360ac73925639d8a8 (diff)
downloadFreeBSD-src-81c41451d4049389d042129c7469179e2a37cc99.zip
FreeBSD-src-81c41451d4049389d042129c7469179e2a37cc99.tar.gz
Remove bogus cast.
Diffstat (limited to 'usr.sbin/trpt')
-rw-r--r--usr.sbin/trpt/trpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c
index 98fd673..656b05c 100644
--- a/usr.sbin/trpt/trpt.c
+++ b/usr.sbin/trpt/trpt.c
@@ -200,7 +200,7 @@ main(argc, argv)
qsort(tcp_pcbs, npcbs, sizeof(caddr_t), numeric);
if (jflag) {
for (i = 0;;) {
- printf("%x", (int)tcp_pcbs[i]);
+ printf("%x", tcp_pcbs[i]);
if (++i == npcbs)
break;
fputs(", ", stdout);
OpenPOWER on IntegriCloud