libtt: Warning prevention
One missing stdlib include and one security warning about not using varargs func correctly.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user