mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 16:02:05 +08:00
2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c: Remove (long) cast of st_ino.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libmisc/shell/print-ls.c: Remove (long) cast of st_ino.
|
||||
* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c:
|
||||
Add missing 'const'.
|
||||
* libfs/src/nfsclient/src/xdr_mbuf.c: Warning removal.
|
||||
|
||||
@@ -132,8 +132,7 @@ printlong(rtems_shell_ls_globals* globals, DISPLAY *dp)
|
||||
continue;
|
||||
sp = p->fts_statp;
|
||||
if (f_inode)
|
||||
(void)printf("%*lu ", dp->s_inode,
|
||||
(unsigned long)sp->st_ino);
|
||||
(void)printf("%*lu ", dp->s_inode, sp->st_ino);
|
||||
if (f_size && !f_humanize) {
|
||||
(void)printf("%*llu ", dp->s_block,
|
||||
(long long)howmany(sp->st_blocks, blocksize));
|
||||
@@ -383,7 +382,7 @@ printaname(rtems_shell_ls_globals* globals,
|
||||
sp = p->fts_statp;
|
||||
chcnt = 0;
|
||||
if (f_inode)
|
||||
chcnt += printf("%*lu ", inodefield, (unsigned long)sp->st_ino);
|
||||
chcnt += printf("%*lu ", inodefield, sp->st_ino);
|
||||
if (f_size) {
|
||||
#if RTEMS_REMOVED
|
||||
if (f_humanize) {
|
||||
|
||||
Reference in New Issue
Block a user