]> sourceware.org Git - glibc.git/blobdiff - sysdeps/unix/sysv/linux/getcwd.c
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
[glibc.git] / sysdeps / unix / sysv / linux / getcwd.c
index 72fb0c96ade5cbabe684e519c41d28eca369ac18..212b6b7a21fb7b48adde96babfd4f72f09531ab0 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <sysdep.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 #include <kernel-features.h>
 
@@ -78,7 +77,7 @@ __getcwd (char *buf, size_t size)
 
   int retval;
 
-  retval = INLINE_SYSCALL (getcwd, 2, CHECK_STRING (path), alloc_size);
+  retval = INLINE_SYSCALL (getcwd, 2, path, alloc_size);
   if (retval >= 0)
     {
 #ifndef NO_ALLOCATION
This page took 0.023367 seconds and 5 git commands to generate.