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:
parent
f59da7b53e
commit
8c8a5380ca
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue