[PATCH] disk.h include guard typos

Matthew Dillon dillon at apollo.backplane.com
Sun Jul 30 09:51:41 PDT 2006


:On Thu, Jul 06, 2006 at 10:13:09PM -0400, Joe Talbott wrote:
:> Here's a small patch to fix the include guards in /sys/sys/disk.h
:> 
:
:Maybe this patch got lost in the release process.  
:
:Joe
    
    I'll fix it in HEAD.  Nothing will be hurt anyhow, its just an
    optimization to reduce the number of namei lookups.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

:> Index: disk.h
:> ===================================================================
:> RCS file: /home/dcvs/src/sys/sys/disk.h,v
:> retrieving revision 1.7
:> diff -u -r1.7 disk.h
:> --- disk.h	30 Dec 2004 07:01:52 -0000	1.7
:> +++ disk.h	7 Jul 2006 02:24:44 -0000
:> @@ -53,11 +53,11 @@
:>  #include <sys/diskslice.h>
:>  #endif
:>  
:> -#ifndef _SYS_DISKLABEL
:> +#ifndef _SYS_DISKLABEL_H_
:>  #include <sys/disklabel.h>
:>  #endif
:>  
:> -#ifndef _SYS_DISKLABEL
:> +#ifndef _SYS_MSGPORT_H_
:>  #include <sys/msgport.h>
:>  #endif
:>  
:






More information about the Submit mailing list