testing/ostest/sighand.c: Fix printf format warnings
This commit is contained in:
parent
469daed335
commit
135ee16d6c
@ -135,8 +135,8 @@ static void wakeup_action(int signo, siginfo_t *info, void *ucontext)
|
|||||||
|
|
||||||
if (oldset != allsigs)
|
if (oldset != allsigs)
|
||||||
{
|
{
|
||||||
printf("wakeup_action: ERROR sigprocmask=%x expected=%x\n",
|
printf("wakeup_action: ERROR sigprocmask=%jx expected=%jx\n",
|
||||||
oldset, allsigs);
|
(uintmax_t)oldset, (uintmax_t)allsigs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -173,8 +173,9 @@ static int waiter_main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SDCC
|
#ifndef SDCC
|
||||||
printf("waiter_main: oact.sigaction=%p oact.sa_flags=%x oact.sa_mask=%x\n",
|
printf("waiter_main: oact.sigaction=%p oact.sa_flags=%x "
|
||||||
oact.sa_sigaction, oact.sa_flags, oact.sa_mask);
|
"oact.sa_mask=%jx\n",
|
||||||
|
oact.sa_sigaction, oact.sa_flags, (uintmax_t)oact.sa_mask);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Take the semaphore */
|
/* Take the semaphore */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user