From owner-freebsd-bugs@FreeBSD.ORG Fri May 7 12:50:06 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 509911065672 for ; Fri, 7 May 2010 12:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 13F0A8FC13 for ; Fri, 7 May 2010 12:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o47Co5Yw057847 for ; Fri, 7 May 2010 12:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o47Co5CB057846; Fri, 7 May 2010 12:50:05 GMT (envelope-from gnats) Resent-Date: Fri, 7 May 2010 12:50:05 GMT Resent-Message-Id: <201005071250.o47Co5CB057846@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Simonenko Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC3311065670 for ; Fri, 7 May 2010 12:48:03 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.kpi.ua [77.47.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 57A868FC18 for ; Fri, 7 May 2010 12:48:02 +0000 (UTC) Received: from pm513-1.comsys.kpi.ua ([10.18.52.101] helo=pm513-1.comsys.ntu-kpi.kiev.ua) by comsys.ntu-kpi.kiev.ua with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OAMyI-0000X6-4D for FreeBSD-gnats-submit@freebsd.org; Fri, 07 May 2010 15:48:02 +0300 Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id C76671CC44; Fri, 7 May 2010 15:48:02 +0300 (EEST) Message-Id: <20100507124802.GA67048@pm513-1.comsys.ntu-kpi.kiev.ua> Date: Fri, 7 May 2010 15:48:02 +0300 From: Andrey Simonenko To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: kern/146375: Typos in macro variables names in sys/fs/nfs/*.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2010 12:50:06 -0000 >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: