diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-29 00:41:14 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-06-29 00:41:14 +0000 |
commit | ddf06c290d5eba13616d665b4ce5aed4180ba70b (patch) | |
tree | f3a1541df52afbdded5b7e61b0fc6adffd91d295 | |
parent | d7ec46ab5eb00b08336c5ff0e79f238a069b9b11 (diff) |
use %s with syslog, probably just paranoia but it is good form
-rw-r--r-- | kerberosIV/src/appl/sample/sample_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosIV/src/appl/sample/sample_server.c b/kerberosIV/src/appl/sample/sample_server.c index 2eda3dd2ce9..6debf48a4fd 100644 --- a/kerberosIV/src/appl/sample/sample_server.c +++ b/kerberosIV/src/appl/sample/sample_server.c @@ -108,7 +108,7 @@ main(int argc, char **argv) snprintf(retbuf, sizeof(retbuf), "Kerberos error: %s\n", krb_get_err_text(status)); - syslog(LOG_ERR, retbuf); + syslog(LOG_ERR, "%s", retbuf); } else { /* Check the version string (KRB_SENDAUTH_VLEN chars) */ if (strncmp(version, SAMPLE_VERSION, KRB_SENDAUTH_VLEN)) { |