summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-09 18:38:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-09 18:38:26 +0000
commit225ef5f7b49ba100dc7d9cc8ebbf3262ea29d3a6 (patch)
treee86e351d7419b83c7ab7037cc29dc744476ed612 /libexec
parent566495bb4dffe0a53aa0d81c4c9594e25ebf38d5 (diff)
do not strerror() a signo
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index c11434bba0a..8028966a1b2 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.92 2001/02/04 20:33:23 pjanzen Exp $ */
+/* $OpenBSD: ftpd.c,v 1.93 2001/03/09 18:38:25 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -635,9 +635,8 @@ static void
sigquit(signo)
int signo;
{
-
/* XXX signal races */
- syslog(LOG_ERR, "got signal %s", strerror(signo));
+ syslog(LOG_ERR, "got signal %s", sys_signame[signo]);
dologout(1);
}