Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/dup.c')
-rw-r--r--libgloss/spu/dup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libgloss/spu/dup.c b/libgloss/spu/dup.c
index 2ff787055..325db63ee 100644
--- a/libgloss/spu/dup.c
+++ b/libgloss/spu/dup.c
@@ -34,8 +34,5 @@ POSSIBILITY OF SUCH DAMAGE.
int
dup (int oldfd)
{
- syscall_dup_t sys;
-
- sys.oldfd = oldfd;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP, &sys);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP, &oldfd);
}