Date: Fri, 7 May 2010 15:48:02 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/146375: Typos in macro variables names in sys/fs/nfs/*.h Message-ID: <20100507124802.GA67048@pm513-1.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <201005071250.o47Co5CB057846@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146375 >Category: kern >Synopsis: Typos in macro variables names in sys/fs/nfs/*.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 07 12:50:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: There are two typos in macro variables names in sys/fs/nfs/*.h files. >How-To-Repeat: >Fix: diff -ruNp nfs.orig/nfskpiport.h nfs/nfskpiport.h --- nfs.orig/nfskpiport.h 2009-05-04 18:23:58.000000000 +0300 +++ nfs/nfskpiport.h 2010-05-07 15:13:16.000000000 +0300 @@ -27,7 +27,7 @@ */ #ifndef _NFS_NFSKPIPORT_H_ -#define _NFSKPIPORT_NFS_H_ +#define _NFS_NFSKPIPORT_H_ /* * These definitions are needed since the generic code is now using Darwin8 * KPI stuff. (I know, seems a bit silly, but I want the code to build on @@ -70,4 +70,4 @@ typedef struct mbuf * mbuf_t; #define uio_iov_len(p) ((p)->uio_iov->iov_len) #define uio_iov_len_add(p, v) ((p)->uio_iov->iov_len += (v)) -#endif /* _NFSKPIPORT_NFS_H */ +#endif /* _NFS_NFSKPIPORT_H_ */ diff -ruNp nfs.orig/nfsport.h nfs/nfsport.h --- nfs.orig/nfsport.h 2010-05-07 11:44:43.000000000 +0300 +++ nfs/nfsport.h 2010-05-07 15:13:31.000000000 +0300 @@ -33,7 +33,7 @@ */ #ifndef _NFS_NFSPORT_H_ -#define _NFSPORT_NFS_H_ +#define _NFS_NFSPORT_H_ /* * In general, I'm not fond of #includes in .h files, but this seems @@ -918,4 +918,4 @@ struct nfsreq { #endif /* _KERNEL */ -#endif /* _NFSPORT_NFS_H */ +#endif /* _NFS_NFSPORT_H_ */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100507124802.GA67048>