diff options
author | Roland McGrath <roland@redhat.com> | 2004-04-16 21:58:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2004-04-16 21:58:55 +0000 |
commit | 1a3d60e1fc08d23194dd735c70c5984c69c4f948 (patch) | |
tree | 7784226e769e1de98e994d71601a356270def3d6 /resource.c | |
parent | 5a8458bb03c1b8a25e4beb2c69d2997600d43ae4 (diff) | |
download | strace-1a3d60e1fc08d23194dd735c70c5984c69c4f948.tar.gz strace-1a3d60e1fc08d23194dd735c70c5984c69c4f948.tar.bz2 strace-1a3d60e1fc08d23194dd735c70c5984c69c4f948.tar.xz |
2004-03-18 Dmitry V. Levin <ldv@altlinux.org>
* resource.c (sys_quotactl) [LINUX]: Cast arithmetic shift operand
from long to unsigned long, to fix output of the quotactl command
parser.
Diffstat (limited to 'resource.c')
-rw-r--r-- | resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(", "); |