Module Name:    src
Committed By:   christos
Date:           Tue Jan 20 01:02:25 UTC 2015

Modified Files:
        src/sys/sys: socket.h

Log Message:
add lint comment


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/sys/socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/socket.h
diff -u src/sys/sys/socket.h:1.111 src/sys/sys/socket.h:1.112
--- src/sys/sys/socket.h:1.111	Tue Dec  2 14:38:16 2014
+++ src/sys/sys/socket.h	Mon Jan 19 20:02:25 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: socket.h,v 1.111 2014/12/02 19:38:16 christos Exp $	*/
+/*	$NetBSD: socket.h,v 1.112 2015/01/20 01:02:25 christos Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -341,7 +341,7 @@ struct sockcred {
  * Compute size of a sockcred structure with groups.
  */
 #define	SOCKCREDSIZE(ngrps) \
-	(sizeof(struct sockcred) + (sizeof(gid_t) * \
+	(/*CONSTCOND*/sizeof(struct sockcred) + (sizeof(gid_t) * \
 	    ((ngrps) ? ((ngrps) - 1) : 0)))
 #endif /* _NETBSD_SOURCE */
 

Reply via email to