Commit 4029a91f authored by Chen Liqin's avatar Chen Liqin Committed by Arnd Bergmann

asm-generic: Fix typo in asm-generic/unistd.h.

>>From 9741f7928ef35416e49f329a64e623a109de5c2d Mon Sep 17 00:00:00 2001
From: Chen Liqin <liqin.chen@sunplusct.com>
Date: Mon, 26 Oct 2009 10:50:50 +0800
Subject: [PATCH] asm-generic: Fix typo in asm-generic/unistd.h.

Fixed __NR_ftruncate and __NR_ftruncate64 define in asm-generic/unistd.h.
Signed-off-by: default avatarChen Liqin <liqin.chen@sunplusct.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 0a5549ed
...@@ -802,7 +802,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall) ...@@ -802,7 +802,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
#define __NR_statfs __NR3264_statfs #define __NR_statfs __NR3264_statfs
#define __NR_fstatfs __NR3264_fstatfs #define __NR_fstatfs __NR3264_fstatfs
#define __NR_truncate __NR3264_truncate #define __NR_truncate __NR3264_truncate
#define __NR_ftruncate __NR3264_truncate #define __NR_ftruncate __NR3264_ftruncate
#define __NR_lseek __NR3264_lseek #define __NR_lseek __NR3264_lseek
#define __NR_sendfile __NR3264_sendfile #define __NR_sendfile __NR3264_sendfile
#define __NR_newfstatat __NR3264_fstatat #define __NR_newfstatat __NR3264_fstatat
...@@ -818,7 +818,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall) ...@@ -818,7 +818,7 @@ __SYSCALL(__NR_fork, sys_ni_syscall)
#define __NR_statfs64 __NR3264_statfs #define __NR_statfs64 __NR3264_statfs
#define __NR_fstatfs64 __NR3264_fstatfs #define __NR_fstatfs64 __NR3264_fstatfs
#define __NR_truncate64 __NR3264_truncate #define __NR_truncate64 __NR3264_truncate
#define __NR_ftruncate64 __NR3264_truncate #define __NR_ftruncate64 __NR3264_ftruncate
#define __NR_llseek __NR3264_lseek #define __NR_llseek __NR3264_lseek
#define __NR_sendfile64 __NR3264_sendfile #define __NR_sendfile64 __NR3264_sendfile
#define __NR_fstatat64 __NR3264_fstatat #define __NR_fstatat64 __NR3264_fstatat
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment