From: Roland McGrath Date: Fri, 16 Apr 2004 21:58:55 +0000 (+0000) Subject: 2004-03-18 Dmitry V. Levin X-Git-Tag: v4.5.18~592 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a3d60e1fc08d23194dd735c70c5984c69c4f948;p=strace 2004-03-18 Dmitry V. Levin * resource.c (sys_quotactl) [LINUX]: Cast arithmetic shift operand from long to unsigned long, to fix output of the quotactl command parser. --- diff --git a/resource.c b/resource.c index 8e646606..4692a37b 100644 --- a/resource.c +++ b/resource.c @@ -499,7 +499,7 @@ sys_quotactl(tcp) struct tcb *tcp; { if (entering(tcp)) { - printxval(quotacmds, tcp->u_arg[0] >> SUBCMDSHIFT, "Q_???"); + printxval(quotacmds, (unsigned long) tcp->u_arg[0] >> SUBCMDSHIFT, "Q_???"); tprintf("|"); printxval(quotatypes, tcp->u_arg[0] & SUBCMDMASK, "???QUOTA"); tprintf(", ");