From 70e18d99b8e3e77bb37e218d7ac582130156f8ef Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 25 Jan 2024 09:46:18 +0100 Subject: New upstream version 1.45.90 --- src/core/nm-dbus-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/nm-dbus-manager.c') diff --git a/src/core/nm-dbus-manager.c b/src/core/nm-dbus-manager.c index 0bde5971..7e6757f0 100644 --- a/src/core/nm-dbus-manager.c +++ b/src/core/nm-dbus-manager.c @@ -1644,8 +1644,8 @@ _new_unix_process(GDBusMethodInvocation *context, /* polkit glib library stores uid and pid as int. There might be some * pitfalls if the id ever happens to be larger then that. Just assert against * it here. */ - g_return_val_if_fail(uid <= MIN(G_MAXINT, G_MAXINT32), NULL); - g_return_val_if_fail(pid > 0 && pid <= MIN(G_MAXINT, G_MAXINT32), NULL); + g_return_val_if_fail(uid <= NM_MIN(G_MAXINT, G_MAXINT32), NULL); + g_return_val_if_fail(pid > 0 && pid <= NM_MIN(G_MAXINT, G_MAXINT32), NULL); self = nm_auth_subject_new_unix_process(dbus_sender, pid, uid); -- cgit 1.3.0-6-gf8a5