Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1967)

Unified Diff: sysdeps/unix/sysv/linux/futimes.c

Issue 7785030: Replace #define syscalls cancel machinery. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Cosmetic change Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/posix/libc_fatal.c ('k') | sysdeps/unix/sysv/linux/libc_fatal.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/unix/sysv/linux/futimes.c
diff --git a/sysdeps/unix/sysv/linux/futimes.c b/sysdeps/unix/sysv/linux/futimes.c
index 272b83eb05ce28e163cb74594d6863db9140b002..82207ced01667cc791ddc2b38ed20af076f5fdba 100644
--- a/sysdeps/unix/sysv/linux/futimes.c
+++ b/sysdeps/unix/sysv/linux/futimes.c
@@ -58,13 +58,13 @@ __futimes (int fd, const struct timeval tvp[2])
}
#ifdef __ASSUME_UTIMENSAT
- return INLINE_SYSCALL (utimensat, 4, fd, NULL, tvp ? &ts : NULL, 0);
+ return INLINE_SYSCALL (utimensat, 4, fd, NULL, tvp ? ts : NULL, 0);
#else
int result;
# ifdef __NR_utimensat
if (!__builtin_expect (miss_utimensat, 0))
{
- result = INLINE_SYSCALL (utimensat, 4, fd, NULL, tvp ? &ts : NULL, 0);
+ result = INLINE_SYSCALL (utimensat, 4, fd, NULL, tvp ? ts : NULL, 0);
if (__builtin_expect (result, 0) != -1 || errno != ENOSYS)
return result;
« no previous file with comments | « sysdeps/posix/libc_fatal.c ('k') | sysdeps/unix/sysv/linux/libc_fatal.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698