diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-11 13:50:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-11 14:10:39 +0200 |
commit | 7fbae5b7069c67ab203d50a2d8295a4d970f10c5 (patch) | |
tree | 0b4b6ba17f8a59e127c266e3f60a2bce7286c473 /src/core/selinux-access.c | |
parent | fe92eb795b4f380522cd2b2f75eb555f0c060306 (diff) | |
download | systemd-7fbae5b7069c67ab203d50a2d8295a4d970f10c5.tar.gz |
tree-wide: use C99 __func__ rather than obsolete __FUNCTION__
We use __func__ almost everywhere, but there are some holdouts. Fix
that.
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r-- | src/core/selinux-access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 984e324d74..513a4fb00e 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -126,7 +126,7 @@ _printf_(2, 3) static int log_callback(int type, const char *fmt, ...) { DISABLE_WARNING_FORMAT_NONLITERAL; log_internalv(LOG_AUTH | callback_type_to_priority(type), - 0, PROJECT_FILE, __LINE__, __FUNCTION__, + 0, PROJECT_FILE, __LINE__, __func__, fmt2, ap); REENABLE_WARNING; va_end(ap); |