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