diff options
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/file-getcontrol.c | 5 |
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); |