csky: bugfix libc sync_file_range.c for csky.
commitfef474b437d14723f4b97608472f821ca67834b1
authorGuo Ren <ren_guo@c-sky.com>
Mon, 8 Jan 2018 08:07:45 +0000 (8 16:07 +0800)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Mon, 8 Jan 2018 17:45:56 +0000 (8 18:45 +0100)
tree1e42ea37fa66ae05082551ef75f0c2eaaa07ddb6
parente87dec4f008be676a52fc4d041985036f03eb246
csky: bugfix libc sync_file_range.c for csky.

Use __NR_sync_file_range2 for csky sync_file_range function.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
libc/sysdeps/linux/common/sync_file_range.c