mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
This port is the older version of bsmtrace and should go away in due time, but it's easy enough to backport the fix in the meantime. This version did need an additional fix to log.{c,h} that was no longer needed in 3.x. PR: 248756 Approved by: csjp (maintainer, also discussed with) MFH: 2020Q3 (-fno-common build fix)
19 lines
375 B
C
19 lines
375 B
C
--- bsmtrace.c.orig 2014-01-14 22:51:19 UTC
|
|
+++ bsmtrace.c
|
|
@@ -30,6 +30,7 @@
|
|
#include "includes.h"
|
|
|
|
static int daemonized; /* daemonized or not? */
|
|
+int audit_pipe_fd;
|
|
|
|
/*
|
|
* If we are going to be daemonized, write out a pid file to
|
|
@@ -92,7 +92,7 @@ bsmtrace_exit(int x)
|
|
}
|
|
|
|
void
|
|
-dprintf(char *fmt, ...)
|
|
+d_printf(char *fmt, ...)
|
|
{
|
|
char buf[1024];
|
|
va_list ap;
|