summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/rpctrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index d80f41dd..b7379a76 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -631,7 +631,7 @@ print_contents (mach_msg_header_t *inp,
else
type->msgt_name = name;
}
- else if (newtypes[0] != name)
+ else if (nelt > 0 && newtypes[0] != name)
if (type->msgt_longform)
lt->msgtl_name = newtypes[0];
else