summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/unlink.c')
-rw-r--r--libgloss/spu/unlink.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libgloss/spu/unlink.c b/libgloss/spu/unlink.c
index 4a7edefb7..6c5daddcc 100644
--- a/libgloss/spu/unlink.c
+++ b/libgloss/spu/unlink.c
@@ -35,8 +35,5 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
int
unlink (const char *pathname)
{
- syscall_unlink_t sys;
-
- sys.pathname = ( unsigned int )pathname;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UNLINK, &sys);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UNLINK, &pathname);
}