summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-sysdeps-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-util.c b/dbus/dbus-sysdeps-util.c
index 68c2a706..32ceddee 100644
--- a/dbus/dbus-sysdeps-util.c
+++ b/dbus/dbus-sysdeps-util.c
@@ -607,7 +607,7 @@ fill_group_info (DBusGroupInfo *info,
result = getgrgid_r (gid, &g_str, buf, sizeof (buf),
&g);
#else
- p = getgrnam_r (group_c_str, &g_str, buf, sizeof (buf));
+ g = getgrnam_r (group_c_str, &g_str, buf, sizeof (buf));
result = 0;
#endif /* !HAVE_POSIX_GETPWNAM_R */
if (result == 0 && g == &g_str)