From 25255d7808d90f53819dc2d090643c56af152d14 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 3 Jan 2010 08:33:24 +0000 Subject: [PATCH] Transform from kernel file to userland source. --- tools/regression/acct/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/regression/acct/Makefile b/tools/regression/acct/Makefile index 6834fcbe283b..09f8b323ecdb 100644 --- a/tools/regression/acct/Makefile +++ b/tools/regression/acct/Makefile @@ -6,12 +6,16 @@ PROG= pack NO_MAN= +CFLAGS= -include /usr/include/sys/limits.h \ + -include /usr/include/sys/syslog.h + all: regress pack: pack.c convert.c convert.c: ../../../sys/kern/kern_acct.c - sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ + sed -n -e 's/log(/syslog(/g' \ + -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ regress: pack regress.t ./regress.t