summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/xportinfo.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-11 06:02:55 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-11 06:02:55 +0000
commit4b8c3a57654a54c370e35d30ba43f59309759ea3 (patch)
tree7c042a9a0054bed375fe940e0e96623bef1b3abf /libshouldbeinlibc/xportinfo.c
parent251871b4158facbd4c92baf45b0456fdcc82cbb6 (diff)
1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>
* ugids-argp.c (parse_opt): Clarify if-then-else structure by adding more braces. * portinfo.c (print_port_info): Cast first arg of munmap correctly. (print_task_ports_info): Likewise. * xportinfo.c (print_xlated_task_ports_info): Likewise. * idvec-auth.c (idvec_merge_auth): Likewise. * portxlate.c (port_name_xlator_create): Likewise. (port_name_xlator_free): Likewise.
Diffstat (limited to 'libshouldbeinlibc/xportinfo.c')
-rw-r--r--libshouldbeinlibc/xportinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c
index bcd6abfa..f94bc4bd 100644
--- a/libshouldbeinlibc/xportinfo.c
+++ b/libshouldbeinlibc/xportinfo.c
@@ -59,8 +59,8 @@ print_xlated_task_ports_info (struct port_name_xlator *x,
if (types[i] & only)
print_xlated_port_info (names[i], types[i], x, show, stream);
- munmap (names, names_len * sizeof *names);
- munmap (types, types_len * sizeof *types);
+ munmap ((caddr_t) names, names_len * sizeof *names);
+ munmap ((caddr_t) types, types_len * sizeof *types);
return 0;
}