Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 07:47:10 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 163864 for review
Message-ID:  <200906090747.n597lAp5026458@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163864

Change 163864 by trasz@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");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906090747.n597lAp5026458>