summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2020-07-15 00:42:21 +0000
committerMichael Paquier2020-07-15 00:42:21 +0000
commite949137397383de58f0c566f5a92b017343c5269 (patch)
tree221f9faf960fab539216da660729a503fe46ce21
parent2a10fdc4307a667883f7a3369cb93a721ade9680 (diff)
Fix compilation failure with sepgsql
One change for getObjectIdentity() has been missed in 2a10fdc, causing the module to not compile properly. This was actually the only problem, and it happens that it is easy enough to check the compilation of the module on Debian after installing libselinux1-dev. Per buildfarm member rhinoceros.
-rw-r--r--contrib/sepgsql/relation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sepgsql/relation.c b/contrib/sepgsql/relation.c
index b50f386f5b3..96c57854a21 100644
--- a/contrib/sepgsql/relation.c
+++ b/contrib/sepgsql/relation.c
@@ -546,7 +546,7 @@ sepgsql_relation_truncate(Oid relOid)
object.classId = RelationRelationId;
object.objectId = relOid;
object.objectSubId = 0;
- audit_name = getObjectIdentity(&object);
+ audit_name = getObjectIdentity(&object, false);
sepgsql_avc_check_perms(&object,
tclass,