summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldpd/control.c')
-rw-r--r--usr.sbin/ldpd/control.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/control.c b/usr.sbin/ldpd/control.c
index fe0eebdbea6..5c598cd1917 100644
--- a/usr.sbin/ldpd/control.c
+++ b/usr.sbin/ldpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.29 2017/03/03 23:30:57 renato Exp $ */
+/* $OpenBSD: control.c,v 1.30 2020/06/22 15:09:34 mestre Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -98,11 +98,10 @@ control_listen(void)
}
void
-control_cleanup(char *path)
+control_cleanup(void)
{
accept_del(control_fd);
close(control_fd);
- unlink(path);
}
/* ARGSUSED */