aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mount_portalfs/pt_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mount_portalfs/pt_pipe.c')
-rw-r--r--usr.sbin/mount_portalfs/pt_pipe.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/mount_portalfs/pt_pipe.c b/usr.sbin/mount_portalfs/pt_pipe.c
index 285f193b4f17..fd54b7ed0315 100644
--- a/usr.sbin/mount_portalfs/pt_pipe.c
+++ b/usr.sbin/mount_portalfs/pt_pipe.c
@@ -48,12 +48,8 @@ __FBSDID("$FreeBSD$");
static int errlog(void);
static int parse_argv(char *args, char **argv);
-int portal_pipe(pcr, key, v, so, fdp)
-struct portal_cred *pcr;
-char *key;
-char **v;
-int so;
-int *fdp;
+int portal_pipe(struct portal_cred *pcr, char *key, char **v,
+ int kso __unused, int *fdp)
{
int fd[2]; /* Pipe endpoints. */
int caller_end; /* The pipe end we will use. */