From e99b36af2f2f2e75b3dfbf9ef8fb41f87c5d3d14 Mon Sep 17 00:00:00 2001 From: hien Date: Wed, 15 Mar 2006 00:20:29 +0000 Subject: A small change in _fd_set_u --- tapset/aux_syscalls.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 48e0cd60..aa480883 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -347,7 +347,7 @@ function _fd_set_u(uaddr:long) strlcpy (THIS->__retvalue, "NULL", MAXSTRINGLEN); else { if (_stp_copy_from_user((char *)&fdset, ptr, sizeof(fd_set)) == 0) - snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%ld, %ld, ...", (long) fdset.fds_bits[0], fdset.fds_bits[1]); + snprintf(THIS->__retvalue, MAXSTRINGLEN, "[0x%lx, 0x%lx, ...]", (long) fdset.fds_bits[0], fdset.fds_bits[1]); else strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN); } -- cgit