change log for rtems (2011-02-08)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Feb 8 08:10:20 UTC 2011
*ralf* (on branch rtems-4-10-branch):
2011-02-08 Ralf Corsépius <ralf.corsepius at rtems.org>
* sp69/init.c: Use "ld" instead of PRId32 to print
struct timespec->tv_nsec.
M 1.431 testsuites/sptests/ChangeLog
M 1.365.2.4 testsuites/sptests/ChangeLog
M 1.4 testsuites/sptests/sp69/init.c
M 1.3.2.1 testsuites/sptests/sp69/init.c
diff -u rtems/testsuites/sptests/ChangeLog:1.430 rtems/testsuites/sptests/ChangeLog:1.431
--- rtems/testsuites/sptests/ChangeLog:1.430 Mon Feb 7 22:49:38 2011
+++ rtems/testsuites/sptests/ChangeLog Tue Feb 8 01:23:41 2011
@@ -1,5 +1,7 @@
2011-02-08 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * sp69/init.c: Use "ld" instead of PRId32 to print
+ struct timespec->tv_nsec.
* sp19/inttest.h: Use PRIx32 instead of "lx".
2011-02-02 Joel Sherrill <joel.sherrilL at OARcorp.com>
diff -u rtems/testsuites/sptests/ChangeLog:1.365.2.3 rtems/testsuites/sptests/ChangeLog:1.365.2.4
--- rtems/testsuites/sptests/ChangeLog:1.365.2.3 Mon Feb 7 22:53:03 2011
+++ rtems/testsuites/sptests/ChangeLog Tue Feb 8 01:23:59 2011
@@ -1,5 +1,7 @@
2011-02-08 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * sp69/init.c: Use "ld" instead of PRId32 to print
+ struct timespec->tv_nsec.
* sp19/inttest.h: Use PRIx32 instead of "lx".
2011-02-02 Joel Sherrill <joel.sherrilL at OARcorp.com>
diff -u rtems/testsuites/sptests/sp69/init.c:1.3 rtems/testsuites/sptests/sp69/init.c:1.4
--- rtems/testsuites/sptests/sp69/init.c:1.3 Tue Dec 15 12:24:12 2009
+++ rtems/testsuites/sptests/sp69/init.c Tue Feb 8 01:23:42 2011
@@ -107,12 +107,13 @@
/* Check status values. */
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
+ /* Note: POSIX mandates struct timespec->tv_nsec to be a "long" */
printf(
- "wall time should be ~600000000 is %" PRId32 "\n",
+ "wall time should be ~600000000 is %ld\n",
period_status.since_last_period.tv_nsec
);
printf(
- "cpu time should be ~100000000 is %" PRId32 "\n",
+ "cpu time should be ~100000000 is %ld\n",
period_status.executed_since_last_period.tv_nsec
);
rtems_test_assert( period_status.since_last_period.tv_sec == 0 );
diff -u rtems/testsuites/sptests/sp69/init.c:1.3 rtems/testsuites/sptests/sp69/init.c:1.3.2.1
--- rtems/testsuites/sptests/sp69/init.c:1.3 Tue Dec 15 12:24:12 2009
+++ rtems/testsuites/sptests/sp69/init.c Tue Feb 8 01:24:00 2011
@@ -107,12 +107,13 @@
/* Check status values. */
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
+ /* Note: POSIX mandates struct timespec->tv_nsec to be a "long" */
printf(
- "wall time should be ~600000000 is %" PRId32 "\n",
+ "wall time should be ~600000000 is %ld\n",
period_status.since_last_period.tv_nsec
);
printf(
- "cpu time should be ~100000000 is %" PRId32 "\n",
+ "cpu time should be ~100000000 is %ld\n",
period_status.executed_since_last_period.tv_nsec
);
rtems_test_assert( period_status.since_last_period.tv_sec == 0 );
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110208/2363312d/attachment-0001.html>
More information about the vc
mailing list