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