diff options
author | Walter de Jong <walter.dejong@surfsara.nl> | 2014-08-06 16:47:12 +0200 |
---|---|---|
committer | Walter de Jong <walter.dejong@surfsara.nl> | 2014-08-06 16:47:12 +0200 |
commit | b5552f23be2531ad4edd647be342ebef6b13b81d (patch) | |
tree | a3b8785ad4317ce3a2b60c63cf6c29bade0fd9c6 | |
parent | d4d97e242d878b03314ef679dd14eeedc6c6ce3c (diff) | |
download | libpam-radius-auth-b5552f23be2531ad4edd647be342ebef6b13b81d.tar.gz libpam-radius-auth-b5552f23be2531ad4edd647be342ebef6b13b81d.zip |
fix wrong format string modifier
-rw-r--r-- | src/pam_radius_auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c index 27d9b2f..a88acae 100644 --- a/src/pam_radius_auth.c +++ b/src/pam_radius_auth.c @@ -289,15 +289,15 @@ static int host2server(radius_server_t *server) if (p) { /* maybe it's not "radius" */ svp = getservbyname (p, "udp"); /* quotes allow distinction from above, lest p be radius or radacct */ - DPRINT(LOG_DEBUG, "DEBUG: getservbyname('%s', udp) returned %d.\n", p, svp); + DPRINT(LOG_DEBUG, "DEBUG: getservbyname('%s', udp) returned %p.\n", p, svp); *(--p) = ':'; /* be sure to put the delimiter back */ } else { if (!server->accounting) { svp = getservbyname ("radius", "udp"); - DPRINT(LOG_DEBUG, "DEBUG: getservbyname(radius, udp) returned %d.\n", svp); + DPRINT(LOG_DEBUG, "DEBUG: getservbyname(radius, udp) returned %p.\n", svp); } else { svp = getservbyname ("radacct", "udp"); - DPRINT(LOG_DEBUG, "DEBUG: getservbyname(radacct, udp) returned %d.\n", svp); + DPRINT(LOG_DEBUG, "DEBUG: getservbyname(radacct, udp) returned %p.\n", svp); } } |