summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-29 20:27:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-29 20:27:33 +0000
commite0994ed082535eedebc9be7c9869ea4a2147fd93 (patch)
tree638ee95a6ae1461d9e33256b581e64d0dd94146c
parent84008ca74d9471afa503b42a7bb3da1ed19df174 (diff)
(netfs_S_file_getcontrol): Use correct args to ports_create_port.
-rw-r--r--libnetfs/file-getcontrol.c5
1 files 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);