aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2018-01-02 21:05:29 +0100
committerAurelien Jarno <aurelien@aurel32.net>2018-01-02 21:05:29 +0100
commitd35989be876fea4e0932da64a1874c29136ef1aa (patch)
treeee92a5f42e7a8d784c178635ce10a12f7b1e88eb /sysdeps/unix/sysv/linux
parent28fd6a44cb57afeb8a03fb8dd102cf9f5b5a5071 (diff)
downloadglibc-d35989be876fea4e0932da64a1874c29136ef1aa.tar
glibc-d35989be876fea4e0932da64a1874c29136ef1aa.tar.gz
glibc-d35989be876fea4e0932da64a1874c29136ef1aa.tar.bz2
glibc-d35989be876fea4e0932da64a1874c29136ef1aa.zip
Fix typos in getrlimit64.c and setrlimit64.c
Changelog: * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the comment. * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the comment. (settrlimit): Rename into setrlimit. (__sttrlimit): Rename into __setrlimit.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/getrlimit64.c2
-rw-r--r--sysdeps/unix/sysv/linux/setrlimit64.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/getrlimit64.c b/sysdeps/unix/sysv/linux/getrlimit64.c
index 66cb623c63..3dcab58711 100644
--- a/sysdeps/unix/sysv/linux/getrlimit64.c
+++ b/sysdeps/unix/sysv/linux/getrlimit64.c
@@ -21,7 +21,7 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
- linking getlimit64 to {__}getrlimit does not throw a type error. */
+ linking getrlimit64 to {__}getrlimit does not throw a type error. */
#undef getrlimit
#undef __getrlimit
#define getrlimit getrlimit_redirect
diff --git a/sysdeps/unix/sysv/linux/setrlimit64.c b/sysdeps/unix/sysv/linux/setrlimit64.c
index 7379d6b60a..3ec831fb4d 100644
--- a/sysdeps/unix/sysv/linux/setrlimit64.c
+++ b/sysdeps/unix/sysv/linux/setrlimit64.c
@@ -21,9 +21,9 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
- linking setlimit64 to {__}setrlimit does not throw a type error. */
-#undef settrlimit
-#undef __sttrlimit
+ linking setrlimit64 to {__}setrlimit does not throw a type error. */
+#undef setrlimit
+#undef __setrlimit
#define setrlimit setrlimit_redirect
#define __setrlimit __setrlimit_redirect
#include <sys/resource.h>