diff options
author | John Smith <lbalbalba@gmail.com> | 2013-05-18 21:01:50 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-05-19 06:06:32 -0700 |
commit | b6e78710bfe0905bdaae8ef4fadd2a676f44bdfe (patch) | |
tree | 5a83aa01f5a1488c947dac1c658c159eee15c14b /tests/bugs/bug-808400-fcntl.c | |
parent | 714a2037e96f24d49ac1028bc953bd39ae0363b4 (diff) |
Tests: changing calls from 'fstat' to 'fstat64' fixes these tests on 32 bit platforms: bug-858242.t, bug-808400*.t
Change-Id: Ifd85c711a8d16eb3ef17bd1c585acdc34121b12d
BUG: 962226
Signed-off-by: John Smith <lbalbalba@gmail.com>
Reviewed-on: http://review.gluster.org/5034
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/bugs/bug-808400-fcntl.c')
-rw-r--r-- | tests/bugs/bug-808400-fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-808400-fcntl.c b/tests/bugs/bug-808400-fcntl.c index 36e6cf035eb..4deef34a532 100644 --- a/tests/bugs/bug-808400-fcntl.c +++ b/tests/bugs/bug-808400-fcntl.c @@ -84,9 +84,9 @@ main (int argc, char *argv[]) system (cmd); /* wait till graph switch completes */ - ret = fstat (fd, &stbuf); + ret = fstat64 (fd, &stbuf); if (ret < 0) { - fprintf (stderr, "fstat failure (%s)\n", strerror (errno)); + fprintf (stderr, "fstat64 failure (%s)\n", strerror (errno)); goto out; } |