summaryrefslogtreecommitdiff
path: root/src/nss-systemd/nss-systemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nss-systemd/nss-systemd.c')
-rw-r--r--src/nss-systemd/nss-systemd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c
index f75405d2e5..c502b5f5fd 100644
--- a/src/nss-systemd/nss-systemd.c
+++ b/src/nss-systemd/nss-systemd.c
@@ -328,6 +328,8 @@ fail:
return NSS_STATUS_UNAVAIL;
}
+#pragma GCC diagnostic ignored "-Wsizeof-pointer-memaccess"
+
enum nss_status _nss_systemd_getgrnam_r(
const char *name,
struct group *gr,