$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);