kern/146375: Typos in macro variables names in sys/fs/nfs/*.h

看板FB_bugs作者時間15年前 (2010/05/07 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1Bv0yFP- (FB_bugs)