Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-34
/
.
/
src
/
journal
/
audit_type-to-name.awk
blob: 44fc702eb3d314626e5026a2f0bbd2f97b2ddacf [
file
] [
log
] [
blame
] [
raw
]
BEGIN
{
print
"const char *audit_type_to_string(int type) {\n\tswitch(type) {"
}
{
printf
" case AUDIT_%s: return \"%s\";\n"
,
$1
,
$1
}
END
{
print
" default: return NULL;\n\t}\n}\n"
}