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