aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/config/feature-checks/test-libaudit.c
blob: afc019f08641c5d9cd9d8cfeeb69aec7cd1d7687 (plain)
1
2
3
4
5
6
7
8
9
10
#include <libaudit.h>

extern int printf(const char *format, ...);

int main(void)
{
	printf("error message: %s\n", audit_errno_to_name(0));

	return audit_open();
}