aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2005-03-03 17:20:36 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2005-03-03 17:20:36 +0000
commit9c6519b0a2e8ca1496a8cfdf43ef894e9ec7d8f4 (patch)
treed26b52504c5b36fdf06503c8a16d0554e3c99706 /usr.bin/truss
parent4b1783363f35aba054a2acba107a05cbbb8db3d2 (diff)
Notes
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 1 insertions, 1 deletions
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,