PERFORCE change 163864 for review

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Jun 9 07:47:12 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=163864

Change 163864 by trasz at trasz_victim on 2009/06/09 07:47:06

	Compilation fix.

Affected files ...

.. //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#5 edit

Differences ...

==== //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#5 (text+ko) ====

@@ -183,7 +183,7 @@
 main(int argc __unused, char **argv __unused)
 {
 	int error, nentries, i;
-	struct hrl_limit *limits;
+	struct hrl_rule *limits;
 
 	error = hrl_get(NULL, 0, &nentries);
 	if (error)
@@ -194,7 +194,7 @@
 		return (0);
 	}
 
-	limits = malloc(sizeof(struct hrl_limit) * nentries);
+	limits = malloc(sizeof(struct hrl_rule) * nentries);
 	if (limits == NULL)
 		err(1, "malloc");
 


More information about the p4-projects mailing list