summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-09-20 12:54:06 -0700
committerWayne Davison <wayned@samba.org>2011-09-20 12:54:06 -0700
commit79853c30c0f25a18fe82d93b424b0e8521a90c68 (patch)
treef9b16dd8bf4ee1ee9053137dd1c310a0bbb29fe0 /syscall.c
parent953feeadd2d02e646edd2a35e3cc8465335a09dc (diff)
downloadrsync-79853c30c0f25a18fe82d93b424b0e8521a90c68.tar.gz
Be sure to use STRUCT_STAT.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index 6d51d3cb..e2b1394a 100644
--- a/syscall.c
+++ b/syscall.c
@@ -447,7 +447,7 @@ int do_fallocate(int fd, OFF_T offset, OFF_T length)
int do_open_nofollow(const char *pathname, int flags)
{
#ifndef O_NOFOLLOW
- struct stat f_st, l_st;
+ STRUCT_STAT f_st, l_st;
#endif
int fd;