testing/ostest/posixtimer.c: Fix printf format warnings
This commit is contained in:
parent
361615b8b4
commit
10a0764175
@ -129,8 +129,8 @@ static void timer_expiration(int signo, siginfo_t *info, void *ucontext)
|
||||
|
||||
if (oldset != allsigs)
|
||||
{
|
||||
printf("timer_expiration: ERROR sigprocmask=%x expected=%x\n",
|
||||
oldset, allsigs);
|
||||
printf("timer_expiration: ERROR sigprocmask=%jx expected=%jx\n",
|
||||
(uintmax_t)oldset, (uintmax_t)allsigs);
|
||||
}
|
||||
}
|
||||
|
||||
@ -179,8 +179,8 @@ void timer_test(void)
|
||||
}
|
||||
|
||||
#ifndef SDCC
|
||||
printf("timer_test: oact.sigaction=%p oact.sa_flags=%x oact.sa_mask=%x\n",
|
||||
oact.sa_sigaction, oact.sa_flags, oact.sa_mask);
|
||||
printf("timer_test: oact.sigaction=%p oact.sa_flags=%x oact.sa_mask=%jx\n",
|
||||
oact.sa_sigaction, oact.sa_flags, (uintmax_t)oact.sa_mask);
|
||||
#endif
|
||||
|
||||
/* Create the POSIX timer */
|
||||
|
Loading…
Reference in New Issue
Block a user