aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/fexecve.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/fexecve.c')
-rw-r--r--sysdeps/unix/sysv/linux/fexecve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/fexecve.c b/sysdeps/unix/sysv/linux/fexecve.c
index a90364eb49..50d2d779b8 100644
--- a/sysdeps/unix/sysv/linux/fexecve.c
+++ b/sysdeps/unix/sysv/linux/fexecve.c
@@ -40,10 +40,10 @@ fexecve (fd, argv, envp)
/* We use the /proc filesystem to get the information. If it is not
mounted we fail. */
char buf[sizeof "/proc/self/fd/" + sizeof (int) * 3];
- snprintf (buf, sizeof (buf), "/proc/self/fd/%d", fd);
+ __snprintf (buf, sizeof (buf), "/proc/self/fd/%d", fd);
/* We do not need the return value. */
- execve (buf, argv, envp);
+ __execve (buf, argv, envp);
int save = errno;