summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-12-29 11:05:56 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-12-29 11:05:56 +0000
commit5c3503b2b85424457081d6f8cc4ed178dbb8f4af (patch)
treef5c8ea1cecab2ae524ee3a545be2da8963a8aa85 /usr.bin
parent9885641eb6ac0f2d5020e999d16c777c2cfe09f9 (diff)
remove->unlink; stevesk@pobox.com
Diffstat (limited to 'usr.bin')
-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);
}