diff options
author | Rudolfs Kreicbergs <git-no-reply@zabbix.com> | 2011-05-12 16:47:09 +0400 |
---|---|---|
committer | Rudolfs Kreicbergs <git-no-reply@zabbix.com> | 2011-05-12 16:47:09 +0400 |
commit | 50fae7e152874595bcb94711e23a3716247b68ca (patch) | |
tree | 40e9a6d81008561c0661f1b11e7abfc9e5db55b4 /include/log.h | |
parent | c967c035c2b24827b7652f93cb7f3080cb6ec82b (diff) |
- [ZBX-3747] replaced strcpy() and vsnprintf() calls with safer ones and strerror() with zbx_strerror() which also prints the error code
[merged from branches/1.8 r19527]
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 099185b5893..6e573f294ca 100644 --- a/include/log.h +++ b/include/log.h @@ -59,6 +59,7 @@ void __zbx_zabbix_log(int level, const char *fmt, ...); void zabbix_close_log(); void zabbix_set_log_level(int level); +char *zbx_strerror(int errnum); char *strerror_from_system(unsigned long error); #ifdef _WINDOWS char *strerror_from_module(unsigned long error, LPCTSTR module); |