diff options
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r-- | source3/lib/system.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 8252e4fcfc..f2512908b0 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -1305,31 +1305,6 @@ int sys_pclose(int fd) return wstatus; } -/************************************************************************** - Wrapper for Admin Logs. -****************************************************************************/ - - void sys_adminlog(int priority, const char *format_str, ...) -{ - va_list ap; - int ret; - char *msgbuf = NULL; - - va_start( ap, format_str ); - ret = vasprintf( &msgbuf, format_str, ap ); - va_end( ap ); - - if (ret == -1) - return; - -#if defined(HAVE_SYSLOG) - syslog( priority, "%s", msgbuf ); -#else - DEBUG(0,("%s", msgbuf )); -#endif - SAFE_FREE(msgbuf); -} - /**************************************************************************** Return the major devicenumber for UNIX extensions. ****************************************************************************/ |