summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-09-05 17:38:20 +1200
committerRobert Ancell <robert.ancell@canonical.com>2013-09-05 17:38:20 +1200
commit86ebfc4759705c78f333958839a9f4b6936e5831 (patch)
tree85ce6dfb95a4df1b48d06de64c8617e12c4a554e
parent70bfeb199fba53cfabbdc706d0e3c3f94187d155 (diff)
downloadlightdm-86ebfc4759705c78f333958839a9f4b6936e5831.tar.gz
Correctly wrap stat64
-rw-r--r--tests/src/libsystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index 6685f5d4..51f082a7 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -329,7 +329,7 @@ stat64 (const char *path, struct stat *buf)
_stat64 = (int (*)(const char *path, struct stat *buf)) dlsym (RTLD_NEXT, "stat64");
new_path = redirect_path (path);
- ret = _stat (new_path, buf);
+ ret = _stat64 (new_path, buf);
g_free (new_path);
return ret;