ls.c (list_dir_proc): Fix typo in debugfs which was causing a

compiler warning.
bitmap-optimize
Theodore Ts'o 2002-03-07 02:56:53 -05:00
parent f122632e6b
commit 3f83020370
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-03-07 <tytso@snap.thunk.org>
* ls.c (list_dir_proc): Fix typo in debugfs which was causing a
compiler warning.
2002-03-05 Theodore Tso <tytso@mit.edu>
* lsdel.c (do_lsdel): lsdel uses the pager to print out the list

View File

@ -90,7 +90,7 @@ static int list_dir_proc(ext2_ino_t dir,
strcpy(datestr, " ");
memset(&inode, 0, sizeof(struct ext2_inode));
}
d2 = (struct dir_entry_2 *) dirent;
d2 = (struct ext2_dir_entry_2 *) dirent;
fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
inode.i_mode, d2->file_type, inode.i_uid, inode.i_gid);
if (LINUX_S_ISDIR(inode.i_mode))