Avoid a compiler warning
parent
800ffca71a
commit
05ead49d4e
|
@ -1239,8 +1239,7 @@ static BOOL groupmember(struct SECURITY_CONTEXT *scx, uid_t uid, gid_t gid)
|
|||
else {
|
||||
ismember = FALSE; /* default return */
|
||||
tid = scx->tid;
|
||||
sprintf(filename,"/proc/%u/task/%u/status",
|
||||
(unsigned int)tid,(unsigned int)tid);
|
||||
sprintf(filename,"/proc/%u/task/%u/status",tid,tid);
|
||||
fd = open(filename,O_RDONLY);
|
||||
if (fd >= 0) {
|
||||
got = read(fd, buf, BUFSZ);
|
||||
|
|
Loading…
Reference in New Issue