summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-12-29 11:05:55 +0000
committermarkus <markus@openbsd.org>2000-12-29 11:05:55 +0000
commit24cde9eed1a9b6d773bad61df9cf78e35ca9ff27 (patch)
tree6998335637ab918fd014942617a72eaac73a3343
parentundo change in comment; stevesk@pobox.com (diff)
downloadwireguard-openbsd-24cde9eed1a9b6d773bad61df9cf78e35ca9ff27.tar.xz
wireguard-openbsd-24cde9eed1a9b6d773bad61df9cf78e35ca9ff27.zip
remove->unlink; stevesk@pobox.com
-rw-r--r--usr.bin/ssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index c8efc4969fc..3e894566459 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.77 2000/12/19 23:17:56 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.78 2000/12/29 11:05:55 markus Exp $");
#include "ssh.h"
#include "packet.h"
@@ -2227,7 +2227,7 @@ auth_get_socket_name()
void
cleanup_socket(void)
{
- remove(channel_forwarded_auth_socket_name);
+ unlink(channel_forwarded_auth_socket_name);
rmdir(channel_forwarded_auth_socket_dir);
}