[PATCH] disk.h include guard typos

Joe Talbott josepht at ntelos.net
Sun Jul 30 07:30:36 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

> 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