summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_workers.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-04-15 14:57:16 -0400
committerSimo Sorce <simo@redhat.com>2012-04-15 15:00:50 -0400
commit375ed9210ce229ed05e38f92b86488787a60edd7 (patch)
tree819deb56290a2b248d087f1ffd3619f9bb5a9ba7 /proxy/src/gp_workers.c
parent06fed0b0f3e2d1c0f1dfc548ce6f92d87a37a0a0 (diff)
downloadgss-proxy-375ed9210ce229ed05e38f92b86488787a60edd7.tar.gz
gss-proxy-375ed9210ce229ed05e38f92b86488787a60edd7.tar.xz
gss-proxy-375ed9210ce229ed05e38f92b86488787a60edd7.zip
Replace direct syslog calls with logging macros
Diffstat (limited to 'proxy/src/gp_workers.c')
-rw-r--r--proxy/src/gp_workers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proxy/src/gp_workers.c b/proxy/src/gp_workers.c
index 0e388d6..095dbac 100644
--- a/proxy/src/gp_workers.c
+++ b/proxy/src/gp_workers.c
@@ -30,7 +30,6 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
-#include <syslog.h>
#include <errno.h>
#include "gp_proxy.h"
@@ -419,7 +418,7 @@ static void *gp_worker_main(void *pvt)
/* and wake up dispatcher so it will handle it */
ret = write(t->pool->sig_pipe[1], &dummy, 1);
if (ret == -1) {
- syslog(LOG_ERR, "Failed to signal dispatcher!");
+ GPERROR("Failed to signal dispatcher!");
}
}