summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-10-06 21:10:22 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-10-06 21:10:22 +0000
commit11582097cde9bb4bf4acb463d2661d972fc67353 (patch)
treea7c8811cd1d4787d7cd69883b94911b56bf0e85a /usr.bin/ssh/sshconnect.c
parent65ad67a63d7cfdd08403cdcc0d16a3841b594174 (diff)
swapped args to kill(2)
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 919e787fe0d..c9dcbcf6f5a 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.227 2010/10/06 06:39:28 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.228 2010/10/06 21:10:21 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -167,7 +167,7 @@ ssh_kill_proxy_command(void)
* case it hangs and instead rely on init to reap the child
*/
if (proxy_command_pid > 1)
- kill(SIGHUP, proxy_command_pid);
+ kill(proxy_command_pid, SIGHUP);
}
/*