summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libaudit.c
blob: f5b0863fa1ec240795339428d8deed98a946d405 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-2.0
#include <libaudit.h>

extern int printf(const char *format, ...);

int main(void)
{
	printf("error message: %s\n", audit_errno_to_name(0));

	return audit_open();
}