[patch] vm_zeroidle.c build error

From: Pawel Worach <pawel.worach_at_telia.com>
Date: Sat, 06 Nov 2004 03:09:10 +0100
Looks like one instance of "pages" was missed in rev. 1.32

/usr/src/sys/vm/vm_zeroidle.c: In function `vm_pagezero':
/usr/src/sys/vm/vm_zeroidle.c:164: error: `pages' undeclared (first use in this 
function)
/usr/src/sys/vm/vm_zeroidle.c:164: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/vm/vm_zeroidle.c:164: error: for each function it appears in.)
*** Error code 1

Index: sys/vm/vm_zeroidle.c
===================================================================
RCS file: /export/ctm/cvs/src/sys/vm/vm_zeroidle.c,v
retrieving revision 1.32
diff -u -r1.32 vm_zeroidle.c
--- sys/vm/vm_zeroidle.c        5 Nov 2004 19:14:02 -0000       1.32
+++ sys/vm/vm_zeroidle.c        6 Nov 2004 02:11:01 -0000
_at__at_ -161,7 +161,6 _at__at_
                         wakeup_needed = TRUE;
                         msleep(&zero_state, &vm_page_queue_mtx,
                             PDROP | td->td_priority, "pgzero", hz * 300);
-                       pages = 0;
                 }
         }
  }

-- 
Pawel
Received on Sat Nov 06 2004 - 01:13:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC