Module Name: src Committed By: christos Date: Wed Dec 21 19:27:47 UTC 2011
Modified Files: src/sys/sys: socketvar.h Log Message: don't change the layout of the struct, it is used by fstat. (from yamt) To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/sys/socketvar.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/socketvar.h diff -u src/sys/sys/socketvar.h:1.127 src/sys/sys/socketvar.h:1.128 --- src/sys/sys/socketvar.h:1.127 Tue Dec 20 18:56:29 2011 +++ src/sys/sys/socketvar.h Wed Dec 21 14:27:47 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: socketvar.h,v 1.127 2011/12/20 23:56:29 christos Exp $ */ +/* $NetBSD: socketvar.h,v 1.128 2011/12/21 19:27:47 christos Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -128,6 +128,7 @@ struct socket { short so_options; /* from socket call, see socket.h */ u_short so_linger; /* time to linger while closing */ short so_state; /* internal state flags SS_*, below */ + int so_unused; /* used to be so_nbio */ void *so_pcb; /* protocol control block */ const struct protosw *so_proto; /* protocol handle */ /*