about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-18 19:05:37 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-18 19:05:37 +0000
commit69e5cbf596f07bbea7f23ed92a29ce573508da2e (patch)
treea64ee21f9b646bd9399855a01954baa030f0322e /sysdeps
parent113ad5fc9192340269d2ce19b896d51309e785ea (diff)
downloadglibc-69e5cbf596f07bbea7f23ed92a29ce573508da2e.tar.gz
glibc-69e5cbf596f07bbea7f23ed92a29ce573508da2e.tar.xz
glibc-69e5cbf596f07bbea7f23ed92a29ce573508da2e.zip
* sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
	__NR_sync_file_range is not defined.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sync_file_range.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sync_file_range.S b/sysdeps/unix/sysv/linux/i386/sync_file_range.S
index f39e8a00d7..8544703d56 100644
--- a/sysdeps/unix/sysv/linux/i386/sync_file_range.S
+++ b/sysdeps/unix/sysv/linux/i386/sync_file_range.S
@@ -1,5 +1,5 @@
 /* Selective file content synch'ing.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -63,10 +63,10 @@ ENTRY (sync_file_range)
 
 	cmpl	$-4095, %eax
 	jae	SYSCALL_ERROR_LABEL
-L(pseudo_end):
-	ret
 #else
 	movl	$-ENOSYS, %eax
 	jmp	SYSCALL_ERROR_LABEL
 #endif
+L(pseudo_end):
+	ret
 PSEUDO_END (sync_file_range)