svn commit: r187771 - head/sbin/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Tue Jan 27 04:24:54 PST 2009
Author: luigi
Date: Tue Jan 27 12:24:53 2009
New Revision: 187771
URL: http://svn.freebsd.org/changeset/base/187771
Log:
fix wrong variable usage...
Modified:
head/sbin/ipfw/dummynet.c
Modified: head/sbin/ipfw/dummynet.c
==============================================================================
--- head/sbin/ipfw/dummynet.c Tue Jan 27 12:01:30 2009 (r187770)
+++ head/sbin/ipfw/dummynet.c Tue Jan 27 12:24:53 2009 (r187771)
@@ -326,10 +326,9 @@ ipfw_list_pipes(void *data, uint nbytes,
* Delete pipe or queue i
*/
int
-ipfw_delete_pipe(int pipe_or_queue, int n)
+ipfw_delete_pipe(int pipe_or_queue, int i)
{
struct dn_pipe p;
- int i;
memset(&p, 0, sizeof p);
if (pipe_or_queue == 1)
More information about the svn-src-head
mailing list