浏览代码

fix typo pointed out by skinkie in #2194

Mike Frysinger 17 年之前
父节点
当前提交
8c7292f133
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/sysdeps/linux/common/posix_fadvise64.c

+ 1 - 1
libc/sysdeps/linux/common/posix_fadvise64.c

@@ -34,7 +34,7 @@ int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
     int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 6, fd,
                                __LONG_LONG_PAIR ((long) (offset >> 32),
                                                  (long) offset),
-                               (off_t) len, advise);
+                               (off_t) len, advice);
   if (!INTERNAL_SYSCALL_ERROR_P (ret, err))
     return 0;
   return INTERNAL_SYSCALL_ERRNO (ret, err);