From e0994ed082535eedebc9be7c9869ea4a2147fd93 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 29 Apr 1996 20:27:33 +0000 Subject: (netfs_S_file_getcontrol): Use correct args to ports_create_port. --- libnetfs/file-getcontrol.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libnetfs/file-getcontrol.c b/libnetfs/file-getcontrol.c index 0201577b..ccbd7541 100644 --- a/libnetfs/file-getcontrol.c +++ b/libnetfs/file-getcontrol.c @@ -46,9 +46,8 @@ netfs_S_file_getcontrol (struct protid *user, { /* They've got root; give it to them. */ free (uids); - err = ports_create_port (netfs_port_bucket, - sizeof (struct port_info), - netfs_control_class, &pi); + err = ports_create_port (netfs_control_class, netfs_port_bucket, + sizeof (struct port_info), &pi); if (err) return err; *control = ports_get_right (pi); -- cgit v1.2.3