浏览代码

fix FAPPEND typo on x86_64 (previously only fixed on i386)

Rich Felker 14 年之前
父节点
当前提交
0a84e72c42
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86_64/bits/fcntl.h

+ 1 - 1
arch/x86_64/bits/fcntl.h

@@ -18,7 +18,7 @@
 #define F_DUPFD_CLOEXEC 1030
 #define F_DUPFD_CLOEXEC 1030
 
 
 #ifdef _GNU_SOURCE
 #ifdef _GNU_SOURCE
-#define FAPPENT O_APPEND
+#define FAPPEND O_APPEND
 #define FFSYNC O_FSYNC
 #define FFSYNC O_FSYNC
 #define FASYNC O_ASYNC
 #define FASYNC O_ASYNC
 #define FNONBLOCK O_NONBLOCK
 #define FNONBLOCK O_NONBLOCK