#ifndef lint
static const char rcsid[] =
- "$Id: traverse.c,v 1.50 2002/08/18 20:52:05 stelian Exp $";
+ "$Id: traverse.c,v 1.52 2002/12/09 10:53:59 stelian Exp $";
#endif /* not lint */
#include <config.h>
* dump blocks (sizeest vs. blkest in the indirect block
* calculation).
*/
- blkest = howmany((u_quad_t)dp->di_blocks*fs->blocksize, TP_BSIZE);
+ blkest = howmany((u_quad_t)dp->di_blocks * 512, TP_BSIZE);
i_size = dp->di_size + ((u_quad_t) dp->di_size_high << 32);
sizeest = howmany(i_size, TP_BSIZE);
if (blkest > sizeest)
nbi.di_uid = (((int32_t)dp->di_uidhigh) << 16) | dp->di_uid;
nbi.di_gid = (((int32_t)dp->di_gidhigh) << 16) | dp->di_gid;
if (dp->di_file_acl)
- warn("ACLs in inode #%ld won't be dumped", (long)ino);
+ msg("ACLs in inode #%ld won't be dumped\n", (long)ino);
memmove(&spcl.c_dinode, &nbi, sizeof(nbi));
#else /* __linux__ */
spcl.c_dinode = *dp;
nbi.di_uid = (((int32_t)dp->di_uidhigh) << 16) | dp->di_uid;
nbi.di_gid = (((int32_t)dp->di_gidhigh) << 16) | dp->di_gid;
if (dp->di_file_acl)
- warn("ACLs in inode #%ld won't be dumped", (long)ino);
+ msg("ACLs in inode #%ld won't be dumped\n", (long)ino);
memmove(&spcl.c_dinode, &nbi, sizeof(nbi));
#else /* __linux__ */
spcl.c_dinode = *dp;