From: Dmitry V. Levin Date: Sun, 11 Mar 2012 15:33:34 +0000 (+0000) Subject: Correct inotify_rm_watch decoder X-Git-Tag: v4.7~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab1a70c7a12512b057a3051cd4f60fef7cd1a3df;hp=531af48779ce2c0d38437fd04ca9cf38a3324e5d;p=strace Correct inotify_rm_watch decoder * file.c (sys_inotify_rm_watch): Print second argument as int. --- diff --git a/file.c b/file.c index bba09dde..e90a90bb 100644 --- a/file.c +++ b/file.c @@ -2660,7 +2660,7 @@ sys_inotify_rm_watch(struct tcb *tcp) { if (entering(tcp)) { printfd(tcp, tcp->u_arg[0]); - tprintf(", %ld", tcp->u_arg[1]); + tprintf(", %d", (int) tcp->u_arg[1]); } return 0; }