From: matthieu castet <castet.matthieu@free.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] target arm fstat64 bug
Date: Wed, 16 Jul 2008 20:39:34 +0000 (UTC) [thread overview]
Message-ID: <loom.20080716T203556-537@post.gmane.org> (raw)
Hi,
it seems there a problem with fstat64 struct. __pad2 should be 4 not 8 :
before it was :
unsigned short st_rdev;
unsigned char __pad3[10];
now sizeof st_rdev = 8, so we take 6 bytes to __pad3.
This match linux kernel declaration.
Index: linux-user/syscall_defs.h
===================================================================
--- linux-user/syscall_defs.h (revision 4881)
+++ linux-user/syscall_defs.h (working copy)
@@ -962,7 +962,7 @@
abi_ulong st_gid;
unsigned long long st_rdev;
- unsigned int __pad2[2];
+ unsigned int __pad2;
long long st_size;
abi_ulong st_blksize;
next reply other threads:[~2008-07-16 20:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 20:39 matthieu castet [this message]
2008-07-19 8:39 ` [Qemu-devel] Re: target arm fstat64 bug matthieu castet
2008-07-19 9:49 ` [Qemu-devel] " andrzej zaborowski
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=loom.20080716T203556-537@post.gmane.org \
--to=castet.matthieu@free.fr \
--cc=qemu-devel@nongnu.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.