about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-08-14 04:07:50 -0700
committerDavid S. Miller <davem@davemloft.net>2011-08-14 04:09:28 -0700
commit9c96ff23858b0759e12ad69e3c4599931c90bee8 (patch)
tree468726c07f61864924b64921896fdd207a25e5fc /sysdeps
parent73d7af4f4c2b394063cb0b3a33ee2b00b5ad80b4 (diff)
downloadglibc-9c96ff23858b0759e12ad69e3c4599931c90bee8.tar.gz
glibc-9c96ff23858b0759e12ad69e3c4599931c90bee8.tar.xz
glibc-9c96ff23858b0759e12ad69e3c4599931c90bee8.zip
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
	RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/resource.h b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
index 04d33e4aa8..5c00b8fbb9 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
@@ -130,11 +130,11 @@ enum __rlimit_resource
 #ifndef __USE_FILE_OFFSET64
 # define RLIM_INFINITY ((long int)(~0UL >> 1))
 #else
-# define RLIM_INFINITY 0x7fffffffffffffffLL
+# define RLIM_INFINITY 0xffffffffffffffffLL
 #endif
 
 #ifdef __USE_LARGEFILE64
-# define RLIM64_INFINITY 0x7fffffffffffffffLL
+# define RLIM64_INFINITY 0xffffffffffffffffLL
 #endif
 
 #endif