From: dtucker Date: Sat, 7 Aug 2021 01:57:08 +0000 (+0000) Subject: Fix prototype mismatch for do_cmd. ok djm@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ed290ce72e3ba04056b5c0e653c1bd8fe647469;p=openbsd Fix prototype mismatch for do_cmd. ok djm@ --- 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];