libtt: Warning prevention
One missing stdlib include and one security warning about not using varargs func correctly.
This commit is contained in:
parent
f59da7b53e
commit
8c8a5380ca
|
|
@ -40,6 +40,7 @@
|
|||
* B-tree operations: SEARCH
|
||||
*
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "isam_impl.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue