summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/spawni.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/posix/spawni.c b/posix/spawni.c
index 1fa97a0eea..fe4f27280c 100644
--- a/posix/spawni.c
+++ b/posix/spawni.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 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
@@ -164,9 +164,9 @@ __spawni (pid_t *pid, const char *file,
case spawn_do_open:
{
- int new_fd = __open (action->action.open_action.path,
- action->action.open_action.oflag,
- action->action.open_action.mode);
+ int new_fd = __open64 (action->action.open_action.path,
+ action->action.open_action.oflag,
+ action->action.open_action.mode);
if (new_fd == -1)
/* The `open' call failed. */