public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Suzuki Takashi <suzuki.takashi@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 2/4] util/jffs2reader file size fix
Date: Thu, 20 Oct 2005 23:43:51 +0900	[thread overview]
Message-ID: <4357ad30.3d4bb9f2.6009.3397@mx.gmail.com> (raw)
In-Reply-To: <b1c6420f0510142012m3c6807acx885ff7d71e532368@mail.gmail.com>

On Sat, 15 Oct 2005 12:12:07 +0900, I wrote:
> This is a trivial patch for util/jffs2reader
> to correct file sizes shown in the listings.
> 
> Please review and apply if it is ok.

The patch without quoted-printable encoding.
Thanks.


--- jffs2reader.c.compile	2005-10-10 12:51:37.000000000 +0900
+++ jffs2reader.c	2005-10-10 17:55:17.000000000 +0900
@@ -369,7 +369,7 @@ void printdir(char *o, size_t size, stru
 			putblock((char*)&rdev, sizeof(rdev), &devsize, ri);
 			printf("%4d, %3d ", (int)MAJOR(rdev), (int)MINOR(rdev));
 		} else {
-			printf("%9ld ", (long)je32_to_cpu (ri->dsize));
+			printf("%9ld ", (long)je32_to_cpu (ri->isize));
 		}
 		d->name[d->nsize]='\0';
 		if (age < 3600L * 24 * 365 / 2 && age > -15 * 60) {


-- 
Suzuki Takashi

      reply	other threads:[~2005-10-20 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-15  3:12 [PATCH 2/4] util/jffs2reader file size fix Suzuki Takashi
2005-10-20 14:43 ` Suzuki Takashi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4357ad30.3d4bb9f2.6009.3397@mx.gmail.com \
    --to=suzuki.takashi@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox