$OpenBSD: patch-src_mlock_mlock_c,v 1.2 2008/05/20 07:16:16 ajacoutot Exp $
--- src/mlock/mlock.c.orig	Mon Mar  3 23:33:40 2008
+++ src/mlock/mlock.c	Sun May 18 16:25:56 2008
@@ -69,11 +69,11 @@ int main (int argc,char *argv[])
   char *s,*dir,*file,*lock,*hitch,tmp[1024];
   size_t dlen,len;
   struct stat sb,fsb;
-  struct group *grp = getgrnam ("mail");
+  struct group *grp = getgrnam ("smmsp");
 				/* get syslog */
   openlog (argv[0],LOG_PID,LOG_MAIL);
   if (!grp || (grp->gr_gid != getegid ()))
-    return die ("not setgid mail",EX_USAGE);
+    return die ("not setgid smmsp",EX_USAGE);
   if (argc != 3) return die ("invalid arguments",EX_USAGE);
   for (s = argv[1]; *s; s++)
     if (!isdigit (*s)) return die ("invalid fd",EX_USAGE);