Misc. cleanups.

* daemon.h:
* gnuserv.c: (syslog_message), (syslog_io_message):
* main.c: (handle_parent_connection):
* slave.c: (handle_slave_connection), (handle_slave_command): Misc. cleanups.
This commit is contained in:
Benoît Dejean
2005-02-15 10:35:44 +00:00
parent 0fdfd65a2a
commit b43e879cc0
5 changed files with 24 additions and 19 deletions

View File

@@ -47,8 +47,8 @@ handle_slave_connection (int input, int output)
if (cmnd->data_size >= BUFSIZ)
glibtop_error ("Client sent %d bytes, "
"but buffer is %d",
cmnd->size, BUFSIZ);
"but buffer is %lu",
cmnd->size, (unsigned long)BUFSIZ);
memset (resp, 0, sizeof (glibtop_response));
@@ -249,7 +249,7 @@ handle_slave_command (glibtop_command *cmnd, glibtop_response *resp,
break;
#endif
default:
glibtop_error ("Child received unknown command %u",
glibtop_error ("Child received unknown command %d",
cmnd->command);
break;
}