linux-user: fix fstatat64()/newfstatat() syscall implementation
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 8 Apr 2009 23:07:05 +0000 (23:07 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 8 Apr 2009 23:07:05 +0000 (23:07 +0000)
commit9d33b76b205194857f17ca35a7581b1f500f0462
tree6c71fc2378253ae99ff6a505fbb32caa6415800e
parentf1afe02aefb1eed1d1b4aa3e2a493ca8272515fb
linux-user: fix fstatat64()/newfstatat() syscall implementation

There are two different syscall names for the same goal.

On systems with sizeof(long) == 64 it calls newfstatat.
On systems with sizeof(long) == 32 it calls fstatat64.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7050 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c