diff mpffs/ls.c @ 32:0bf037ba4149

mpffs-ls: report the full chunk length of the /.journal file
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Jun 2013 07:16:01 +0000
parents 3cca8070ef0f
children 9bc7f0e03fa8
line wrap: on
line diff
--- a/mpffs/ls.c	Sun Jun 30 06:59:59 2013 +0000
+++ b/mpffs/ls.c	Sun Jun 30 07:16:01 2013 +0000
@@ -82,7 +82,7 @@
 			continue;
 		case 0xE1:
 			/* special .journal file */
-			printf("j         %s\n", workpath);
+			printf("j %7lu %s\n", (u_long) obj.len, workpath);
 			continue;
 		default:
 		printf("%s (index entry #%x): unexpected type %02X; skipping\n",