summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libaudit.c
blob: afc019f08641c5d9cd9d8cfeeb69aec7cd1d7687 (plain)
1
2
3
4
5
6
7
8
9
10
#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();
}
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-02 12:34:27 -0800 committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-02 12:34:27 -0800 commitf2557779e1a9cfbf69c99b74da26cc1b2b10e752 (patch) tree8ddca65c897199add553948c429072b8bd463692 /drivers/usb/wusbcore/wa-rpipe.c parent6d04dfc8966019b8b0977b2cb942351f13d2b178 (diff)parent030305d69fc6963c16003f50d7e8d74b02d0a143 (diff)
Merge tag 'pci-v4.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fix from Bjorn Helgaas: "Configure ASPM on the link from a PCI-to-PCIe bridge (avoids a NULL pointer dereference on topologies including these bridges)" * tag 'pci-v4.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
Diffstat (limited to 'drivers/usb/wusbcore/wa-rpipe.c')