From: Dmitriy Monakhov <dmonakhov@sw.ru>
To: linux-ext4@vger.kernel.org
Subject: [patch] e2fsprogs time value is interpreted as signed
Date: Sun, 17 Jun 2007 13:47:40 +0400 [thread overview]
Message-ID: <20070617094740.GG14349@localhost.sw.ru> (raw)
after bug: http://bugzilla.kernel.org/show_bug.cgi?id=5079
was fixed by:
commit 4d7bf11d649c72621ca31b8ea12b9c94af380e63
Author: Markus Rechberger <Markus.Rechberger@amd.com>
Date: Tue May 8 00:23:39 2007 -0700
__u32 time value becomes interpreat as signed value. This patch add
coresponding fix to debug fs routine.
Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
---
debugfs/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debugfs/util.c b/debugfs/util.c
index c6096ab..53a0813 100644
--- a/debugfs/util.c
+++ b/debugfs/util.c
@@ -187,7 +187,7 @@ int check_fs_bitmaps(char *name)
char *time_to_string(__u32 cl)
{
static int do_gmt = -1;
- time_t t = (time_t) cl;
+ time_t t = (time_t)(signed) cl;
char * tz;
if (do_gmt == -1) {
--
1.5.2
reply other threads:[~2007-06-17 9:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070617094740.GG14349@localhost.sw.ru \
--to=dmonakhov@sw.ru \
--cc=linux-ext4@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.