summaryrefslogtreecommitdiff
path: root/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans.c')
-rw-r--r--trans.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trans.c b/trans.c
index 8d05286ce..4b77f473d 100644
--- a/trans.c
+++ b/trans.c
@@ -42,7 +42,7 @@ trans_el_t * dyntrans = NULL;
/*Adds a translator control port to the list of ports. One should use
only this function to add a new element to the list of ports. */
error_t
-trans_register (mach_port_t cntl)
+trans_register (fsys_t cntl, trans_el_t ** new_trans)
{
/*The new entry in the list */
trans_el_t * el;
@@ -57,6 +57,8 @@ trans_register (mach_port_t cntl)
el->next = dyntrans;
dyntrans = el;
+ *new_trans = el;
+
return 0;
} /*trans_register */