Hi! > Signed-off-by: Wanlong Gao <[email protected]> > --- > .../interfaces/clock_getcpuclockid/6-1.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git > a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c > > b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c > index 380e2a4..0371c41 100644 > --- > a/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c > +++ > b/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/6-1.c > @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) > #else > clockid_t clockid_1; > > - if (clock_getcpuclockid(-1, &clockid_1) == 0) { > + if (clock_getcpuclockid(-2, &clockid_1) == 0) { > printf("clock_getcpuclockid(-1, ..) failed\n");
You forgotten to update the message (it's still -1 there) and I would change it to something less missleading like: "clock_getcpuclockid(-2, ..) succeeded unexpectedly\n" -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
