Module Name: src Committed By: wiz Date: Tue Feb 2 15:00:34 UTC 2010
Modified Files: src/sys/uvm: uvm_swap.c Log Message: Missing 'if defined COMPAT13 or COMPAT50' in uvm_swap.c found by cppcheck and reported by Henning Petersen in PR 42721. To generate a diff of this commit: cvs rdiff -u -r1.147 -r1.148 src/sys/uvm/uvm_swap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_swap.c diff -u src/sys/uvm/uvm_swap.c:1.147 src/sys/uvm/uvm_swap.c:1.148 --- src/sys/uvm/uvm_swap.c:1.147 Wed Oct 21 21:12:07 2009 +++ src/sys/uvm/uvm_swap.c Tue Feb 2 15:00:34 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_swap.c,v 1.147 2009/10/21 21:12:07 rmind Exp $ */ +/* $NetBSD: uvm_swap.c,v 1.148 2010/02/02 15:00:34 wiz Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 2009 Matthew R. Green @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.147 2009/10/21 21:12:07 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.148 2010/02/02 15:00:34 wiz Exp $"); #include "fs_nfs.h" #include "opt_uvmhist.h" @@ -788,6 +788,8 @@ memcpy(&sep50->se50_path, sdp->swd_path, sizeof sep50->se50_path); sep = (struct swapent *)(sep50 + 1); +#endif +#if defined(COMPAT_13) || defined(COMPAT_50) } #endif count++;