[LTP] [PATCH v1] Correctly check setitimer params in setitimer01
Petr Vorel
pvorel@suse.cz
Thu Nov 3 15:05:22 CET 2022
Hi all,
> > > @@ -64,14 +66,18 @@ static void verify_setitimer(unsigned int i)
> > > tst_no_corefile(0);
> > > - set_setitimer_value(USEC1, 0);
> > > - TST_EXP_PASS(sys_setitimer(tc->which, value, NULL));
> > > + set_setitimer_value(usec, 0);
> > > + TST_EXP_PASS(sys_setitimer(tc->which, value, 0));
> > Why change the third argument from NULL to 0?
> It's a mistake. I sent patch with 0 because I was tweaking with values
> during tests.
Good. I put it back and merged with updated copyright and adjusted the commit
message and description.
Thanks!
Kind regards,
Petr
More information about the ltp
mailing list