summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2021-08-07 01:57:09 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2021-08-07 01:57:09 +0000
commitc93d169d0b44d64659e3a84e8756c031248af7d0 (patch)
treeca0682feb52a369588e899e85365bf1f097a8ad0
parent0b3e74b6bcf571e25e5fffc2d71e95528a2853e6 (diff)
Fix prototype mismatch for do_cmd. ok djm@
-rw-r--r--usr.bin/ssh/scp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index 04c7576accf..6a39bdb59ee 100644
--- a/usr.bin/ssh/scp.c
+++ b/usr.bin/ssh/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.221 2021/08/07 00:12:09 djm Exp $ */
+/* $OpenBSD: scp.c,v 1.222 2021/08/07 01:57:08 dtucker Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -245,7 +245,7 @@ do_local_cmd(arglist *a)
int
do_cmd(char *program, char *host, char *remuser, int port, char *cmd,
- int *fdin, int *fdout, int *pid)
+ int *fdin, int *fdout, pid_t *pid)
{
int pin[2], pout[2], reserved[2];