$OpenBSD: patch-activutil_c,v 1.1 2002/09/24 10:17:47 naddy Exp $
--- activutil.c.orig	Tue Sep 24 01:17:19 2002
+++ activutil.c	Tue Sep 24 01:19:28 2002
@@ -293,6 +293,7 @@ readactive(void)
 {
     char *buf;
     /*@dependent@*/ char *p, *q, *r;
+    unsigned long lu;
     off_t n;
     struct stat st;
     FILE *f;
@@ -379,11 +380,12 @@ readactive(void)
 	*q++ = '\0';
 
 	g->name = critstrdup(p, "readactive");
-	if (sscanf(r, "%lu %lu %lu", &g->last, &g->first, &g->age) != 3) {
+	if (sscanf(r, "%lu %lu %lu", &g->last, &g->first, &lu) != 3) {
 	    syslog(LOG_ERR,
 		   "Groupinfo file possibly truncated or damaged: %s", p);
 	    break;
 	}
+	g->age = lu;
 	if (g->first == 0)
 	    g->first = 1;	/* pseudoarticle */
 	if (g->last == 0)
