diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index db9b29bc4574..71877ab3b9aa 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -414,7 +414,7 @@ print_arg(int fd, struct syscall_args *sc, unsigned long *args, long retval) { (POLLIN | POLLPRI | POLLOUT | POLLERR | POLLHUP | POLLNVAL | \ POLLRDNORM |POLLRDBAND | POLLWRBAND | POLLINIGNEOF) - u += snprintf(tmp + used, per_fd, + u = snprintf(tmp + used, per_fd, "%s%d 0x%hx%s%s%s%s%s%s%s%s%s ", i > 0 ? " " : "", pfd[i].fd,