From 601b6547f2c53651b88a0560a41d702db06c0d1c Mon Sep 17 00:00:00 2001 From: karthik-us Date: Mon, 27 Jun 2016 17:17:56 +0530 Subject: storage/posix: Adding implementation for posix_do_futimes Adding the implementation for the posix_do_futimes function which is not complete in the current implementation and giving the ENOSYS error. Change-Id: I9cfc95a7ea293b0a2df8efd4ac80d0120b3120e4 BUG: 1350406 Signed-off-by: karthik-us --- extras/test/ld-preload-test/ld-preload-lib.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extras/test/ld-preload-test') diff --git a/extras/test/ld-preload-test/ld-preload-lib.c b/extras/test/ld-preload-test/ld-preload-lib.c index 8f74a25cf68..179bf8b05d0 100644 --- a/extras/test/ld-preload-test/ld-preload-lib.c +++ b/extras/test/ld-preload-test/ld-preload-lib.c @@ -292,6 +292,14 @@ utimes (const char *path, const struct timeval times[2]) return -1; } +int +futimes (int fd, const struct timeval times[2]) +{ + intercept ("futimes", 2); + set_errno (); + return -1; +} + int utime (const char *path, const struct utimbuf *buf) { -- cgit