diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-19 12:46:16 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-19 12:46:16 +0000 |
| commit | 3fb3b78f0f947026de4184e64ec60191209d8380 (patch) | |
| tree | 7eb7b373362423db541beee4a946f2486396c4dd /libexec/ftpd | |
| parent | 35cd89e7e59897f75dd6c9db93f4158ab0bc2a81 (diff) | |
Notes
Diffstat (limited to 'libexec/ftpd')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index c7c545b8f7f9..b77c133dbdae 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -410,9 +410,9 @@ main(argc, argv, envp) } } if (error) { - syslog(LOG_ERR, gai_strerror(error)); + syslog(LOG_ERR, "%s", gai_strerror(error)); if (error == EAI_SYSTEM) - syslog(LOG_ERR, strerror(errno)); + syslog(LOG_ERR, "%s", strerror(errno)); exit(1); } if (res->ai_addr == NULL) { |
