Ticket 48978 - Fix implicit function declaration
Description: This patch fixes typo in function name
for converting loglevel to sysloglevel
https://fedorahosted.org/389/ticket/48978
Reviewed by: wibrown
make all-am
make[1]: Entering directory '/tmp/ds'
CC ldap/servers/slapd/libslapd_la-log.lo
In file included from ldap/servers/slapd/slap.h:132:0,
from ldap/servers/slapd/log.h:43,
from ldap/servers/slapd/log.c:29:
ldap/servers/slapd/log.c: In function 'slapi_log_error':
ldap/servers/slapd/log.c:2471:36: error: implicit declaration of function 'get_syslog_level' [-Werror=implicit-function-declaration]
rc = sd_journal_printv(get_syslog_level(loglevel), fmt, ap_err);
^
cc1: some warnings being treated as errors
Makefile:8207: recipe for target 'ldap/servers/slapd/libslapd_la-log.lo' failed
make[1]: *** [ldap/servers/slapd/libslapd_la-log.lo] Error 1
make[1]: Leaving directory '/tmp/ds'
Makefile:3271: recipe for target 'all' failed
make: *** [all] Error 2
sh# git grep -n get_syslog_level
ldap/servers/slapd/log.c:2471: rc = sd_journal_printv(get_syslog_level(loglevel), fmt, ap_err);