bin/95987: [patch] nfsproto.h has trailing ',' in enums

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Tue Apr 18 08:40:18 UTC 2006


>Number:         95987
>Category:       bin
>Synopsis:       [patch] nfsproto.h has trailing ',' in enums
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 08:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
>Description:

nfsproto.h has trailing ',' in enums.

>How-To-Repeat:
>Fix:
--- nfsproto.h.orig	Thu Nov  3 08:09:28 2005
+++ nfsproto.h	Mon Apr 17 23:19:52 2006
@@ -339,7 +339,7 @@
 	NFFIFO=7,
 	NFATTRDIR = 8,
 	NFNAMEDATTR = 9,
-	NFBAD = 10,
+	NFBAD = 10
 } nfstype;	
 
 /* NFSv4 claim type */
@@ -347,14 +347,14 @@
 	NCLNULL = 0,
 	NCLPREV = 1,
 	NCLDELEGCUR = 2,
-	NCLDELEGPREV = 3,
+	NCLDELEGPREV = 3
 } nfsv4cltype;
 
 /* Other NFSv4 types */
 typedef enum {
 	NSHUNSTABLE = 0,
 	NSHDATASYNC = 1,
-	NSHFILESYNC = 2,
+	NSHFILESYNC = 2
 } nfsv4stablehow;
 
 typedef enum { OTNOCREATE = 0, OTCREATE = 1 } nfsv4opentype;


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list