xref: /linux/tools/build/feature/test-libaudit.c (revision 2da68a77)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <libaudit.h>
3 
4 extern int printf(const char *format, ...);
5 
6 int main(void)
7 {
8 	printf("error message: %s\n", audit_errno_to_name(0));
9 
10 	return audit_open();
11 }
12