1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

libtt: Warning prevention

One missing stdlib include and one security warning about not
using varargs func correctly.
This commit is contained in:
Peter Howkins 2012-08-26 19:48:55 +01:00
parent f59da7b53e
commit 8c8a5380ca
2 changed files with 2 additions and 1 deletions

View file

@ -40,6 +40,7 @@
* B-tree operations: SEARCH
*
*/
#include <stdlib.h>
#include "isam_impl.h"

View file

@ -114,7 +114,7 @@ _isam_warning(msg)
char *msg;
{
openlog("NetISAM", LOG_PID, LOG_USER);
syslog(LOG_ERR, msg);
syslog(LOG_ERR, "%s", msg);
}
/* Set user specified fatal_error handler */