blob: a0cf269cee3339528984cb7d522b901eb8f732d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.7 2005/09/10 10:43:42 adrianp Exp $
--- ntpd/ntpd.c.orig 2005-09-10 10:48:16.000000000 +0100
+++ ntpd/ntpd.c 2005-09-10 10:49:44.000000000 +0100
@@ -863,7 +863,7 @@
} else {
getgroup:
if ((gr = getgrnam(group)) != NULL) {
- sw_gid = pw->pw_gid;
+ sw_gid = gr->gr_gid;
} else {
errno = 0;
msyslog(LOG_ERR, "Cannot find group `%s'", group);
|