change log for rtems (2010-06-15)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jun 15 06:12:02 UTC 2010
*ralf* (on branch rtems-4-10-branch):
2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
Include <inttypes.h>.
Misc. 64bit-compatibility fixes.
M 1.2388 cpukit/ChangeLog
M 1.2346.2.13 cpukit/ChangeLog
M 1.11 cpukit/libmisc/shell/main_msdosfmt.c
M 1.10.2.1 cpukit/libmisc/shell/main_msdosfmt.c
M 1.8 cpukit/libmisc/shell/print-ls.c
M 1.7.2.1 cpukit/libmisc/shell/print-ls.c
diff -u rtems/cpukit/ChangeLog:1.2387 rtems/cpukit/ChangeLog:1.2388
--- rtems/cpukit/ChangeLog:1.2387 Mon Jun 14 11:06:13 2010
+++ rtems/cpukit/ChangeLog Tue Jun 15 00:42:27 2010
@@ -1,3 +1,9 @@
+2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
+ Include <inttypes.h>.
+ Misc. 64bit-compatibility fixes.
+
2010-06-14 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmd/md5.h: Revert Sebastian's patch.
diff -u rtems/cpukit/ChangeLog:1.2346.2.12 rtems/cpukit/ChangeLog:1.2346.2.13
--- rtems/cpukit/ChangeLog:1.2346.2.12 Mon Jun 14 01:09:07 2010
+++ rtems/cpukit/ChangeLog Tue Jun 15 00:42:38 2010
@@ -1,3 +1,9 @@
+2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
+ Include <inttypes.h>.
+ Misc. 64bit-compatibility fixes.
+
2010-06-14 Ralf Corsépius <ralf.corsepius at rtems.org>
* libnetworking/rtems/mkrootfs.h,
diff -u rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.10 rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.11
--- rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.10 Wed Feb 24 03:30:40 2010
+++ rtems/cpukit/libmisc/shell/main_msdosfmt.c Tue Jun 15 00:42:28 2010
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <inttypes.h>
#include <rtems.h>
#include <rtems/shell.h>
@@ -144,13 +145,13 @@
{
printf (" %-20s: %s\n", "OEMName", "RTEMS");
printf (" %-20s: %s\n", "VolLabel", "RTEMSDisk");
- printf (" %-20s: %lu\n", "sectors per cluster", rqdata.sectors_per_cluster);
- printf (" %-20s: %lu\n", "fats", rqdata.fat_num);
- printf (" %-20s: %lu\n", "files per root dir", rqdata.files_per_root_dir);
+ printf (" %-20s: %" PRIu32 "\n", "sectors per cluster", rqdata.sectors_per_cluster);
+ printf (" %-20s: %" PRIu32 "\n", "fats", rqdata.fat_num);
+ printf (" %-20s: %" PRIu32 "\n", "files per root dir", rqdata.files_per_root_dir);
printf (" %-20s: %i\n", "fat type", rqdata.fattype);
printf (" %-20s: %d\n", "media", rqdata.media);
printf (" %-20s: %d\n", "quick_format", rqdata.quick_format);
- printf (" %-20s: %lu\n", "cluster align", rqdata.cluster_align);
+ printf (" %-20s: %" PRIu32 "\n", "cluster align", rqdata.cluster_align);
}
if (msdos_format (driver, &rqdata) < 0) {
diff -u rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.10 rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.10.2.1
--- rtems/cpukit/libmisc/shell/main_msdosfmt.c:1.10 Wed Feb 24 03:30:40 2010
+++ rtems/cpukit/libmisc/shell/main_msdosfmt.c Tue Jun 15 00:42:40 2010
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <inttypes.h>
#include <rtems.h>
#include <rtems/shell.h>
@@ -144,13 +145,13 @@
{
printf (" %-20s: %s\n", "OEMName", "RTEMS");
printf (" %-20s: %s\n", "VolLabel", "RTEMSDisk");
- printf (" %-20s: %lu\n", "sectors per cluster", rqdata.sectors_per_cluster);
- printf (" %-20s: %lu\n", "fats", rqdata.fat_num);
- printf (" %-20s: %lu\n", "files per root dir", rqdata.files_per_root_dir);
+ printf (" %-20s: %" PRIu32 "\n", "sectors per cluster", rqdata.sectors_per_cluster);
+ printf (" %-20s: %" PRIu32 "\n", "fats", rqdata.fat_num);
+ printf (" %-20s: %" PRIu32 "\n", "files per root dir", rqdata.files_per_root_dir);
printf (" %-20s: %i\n", "fat type", rqdata.fattype);
printf (" %-20s: %d\n", "media", rqdata.media);
printf (" %-20s: %d\n", "quick_format", rqdata.quick_format);
- printf (" %-20s: %lu\n", "cluster align", rqdata.cluster_align);
+ printf (" %-20s: %" PRIu32 "\n", "cluster align", rqdata.cluster_align);
}
if (msdos_format (driver, &rqdata) < 0) {
diff -u rtems/cpukit/libmisc/shell/print-ls.c:1.7 rtems/cpukit/libmisc/shell/print-ls.c:1.8
--- rtems/cpukit/libmisc/shell/print-ls.c:1.7 Tue Jun 1 05:46:16 2010
+++ rtems/cpukit/libmisc/shell/print-ls.c Tue Jun 15 00:42:28 2010
@@ -47,6 +47,8 @@
#endif /* not lint */
#endif
+#include <inttypes.h>
+
#include <rtems.h>
#include <rtems/libio.h>
@@ -147,7 +149,7 @@
if (f_flags)
(void)printf("%-*s ", dp->s_flags, np->flags);
if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
- (void)printf("%*lu, %*lu ",
+ (void)printf("%*"PRIu32", %*"PRIu32" ",
dp->s_major, major(sp->st_rdev), dp->s_minor,
minor(sp->st_rdev));
else
diff -u rtems/cpukit/libmisc/shell/print-ls.c:1.7 rtems/cpukit/libmisc/shell/print-ls.c:1.7.2.1
--- rtems/cpukit/libmisc/shell/print-ls.c:1.7 Tue Jun 1 05:46:16 2010
+++ rtems/cpukit/libmisc/shell/print-ls.c Tue Jun 15 00:42:39 2010
@@ -47,6 +47,8 @@
#endif /* not lint */
#endif
+#include <inttypes.h>
+
#include <rtems.h>
#include <rtems/libio.h>
@@ -147,7 +149,7 @@
if (f_flags)
(void)printf("%-*s ", dp->s_flags, np->flags);
if (S_ISCHR(sp->st_mode) || S_ISBLK(sp->st_mode))
- (void)printf("%*lu, %*lu ",
+ (void)printf("%*"PRIu32", %*"PRIu32" ",
dp->s_major, major(sp->st_rdev), dp->s_minor,
minor(sp->st_rdev));
else
--
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/20100615/68f96251/attachment.html>
More information about the vc
mailing list