xref: /linux/tools/build/feature/test-libaudit.c (revision 70a02f840c5113cd9255ce4c1b1848bb48b0bd21)
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