summaryrefslogtreecommitdiff
path: root/e2fsck/message.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-01-11 15:12:14 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-01-11 15:12:14 +0000
commit86c627ec1136446409a0170d439e60c148e6eb48 (patch)
tree8355ce19adb11e94b8de2cc8583844dc6346f640 /e2fsck/message.c
parent95a5bc918f1a4dd06dd701a169a991f87e3a733e (diff)
downloade2fsprogs-86c627ec1136446409a0170d439e60c148e6eb48.tar.gz
Many files:
dirinfo.c, e2fsck.h, emptydir.c, iscan.c, jfs_user.h, journal.c, message.c, pass1.c, pass1b.c, pass2.c, pass3.c, pass4.c, pass5.c, problem.h, scantest.c, super.c, swapfs.c: Change ino_t to ext2_ino_t.
Diffstat (limited to 'e2fsck/message.c')
-rw-r--r--e2fsck/message.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsck/message.c b/e2fsck/message.c
index 00956e24..0bb666a5 100644
--- a/e2fsck/message.c
+++ b/e2fsck/message.c
@@ -172,7 +172,7 @@ static void safe_print(const char *cp, int len)
* This function prints a pathname, using the ext2fs_get_pathname
* function
*/
-static void print_pathname(ext2_filsys fs, ino_t dir, ino_t ino)
+static void print_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino)
{
errcode_t retval;
char *path;
@@ -355,16 +355,16 @@ static _INLINE_ void expand_percent_expression(ext2_filsys fs, char ch,
printf("%u", ctx->blk2);
break;
case 'd':
- printf("%lu", ctx->dir);
+ printf("%u", ctx->dir);
break;
case 'g':
printf("%d", ctx->group);
break;
case 'i':
- printf("%lu", ctx->ino);
+ printf("%u", ctx->ino);
break;
case 'j':
- printf("%lu", ctx->ino2);
+ printf("%u", ctx->ino2);
break;
case 'm':
printf("%s", error_message(ctx->errcode));