summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/logwriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'customdhcpcd/src/logwriter.c')
-rw-r--r--customdhcpcd/src/logwriter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/customdhcpcd/src/logwriter.c b/customdhcpcd/src/logwriter.c
index 67cf839..6230d4c 100644
--- a/customdhcpcd/src/logwriter.c
+++ b/customdhcpcd/src/logwriter.c
@@ -24,7 +24,6 @@ int sockfd, ns;
int retval = -1;
char socketName[QTSOCKETADDRESSLENGTH];
char interfaceName[IF_NAMESIZE];
-char mesg[1024];
void setSocketName(const char * sn) {
snprintf(socketName, sizeof(socketName), "%s", sn);
@@ -83,7 +82,7 @@ void sendToQt(log_msg * msg) {
ret = snprintf(outbuf, DHCP_MESSAGE_SIZE, tpl, msg->device, msg->status,
msg->substatus, msg->msg);
if (ret < 1) {
- logger(LOG_INFO, "[fbgui] ERROR filling message buffer");
+ log ger(LOG_INFO, "[fbgui] ERROR filling message buffer");
//syslog(LOG_INFO, "[fbgui] ERROR filling message buffer");
return;
}