| Summary: | [patch] modstat(2) contains outdated union modspecific | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Mateusz Guzik <mjguzik> | ||||
| Component: | Books & Articles | Assignee: | Daniel Gerzo <danger> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
danger 2008-07-15 10:06:37 UTC
FreeBSD src repository
Modified files:
lib/libc/sys modstat.2
Log:
SVN rev 180534 on 2008-07-15 10:06:37Z by danger
Update the definition of modspecific structure
PR: docs/125630
Revision Changes Path
1.12 +3 -3 src/lib/libc/sys/modstat.2
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Responsible Changed From-To: freebsd-doc->danger Take State Changed From-To: open->patched Fixed in HEAD Author: danger (doc committer) Date: Tue Jan 6 12:10:23 2009 New Revision: 186811 URL: http://svn.freebsd.org/changeset/base/186811 Log: MFC r180534: - Update the definition of modspecific structure PR: docs/125630 Submitted by: Mateusz Guzik <mjguzik@gmail.com> Modified: stable/7/lib/libc/ (props changed) stable/7/lib/libc/string/ffsll.c (props changed) stable/7/lib/libc/string/flsll.c (props changed) stable/7/lib/libc/sys/modstat.2 Modified: stable/7/lib/libc/sys/modstat.2 ============================================================================== --- stable/7/lib/libc/sys/modstat.2 Tue Jan 6 11:11:58 2009 (r186810) +++ stable/7/lib/libc/sys/modstat.2 Tue Jan 6 12:10:23 2009 (r186811) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 13, 2007 +.Dd July 15, 2008 .Dt MODSTAT 2 .Os .Sh NAME @@ -55,9 +55,9 @@ struct module_stat { }; typedef union modspecific { int intval; - u_int u_intval; + u_int uintval; long longval; - u_long u_longval; + u_long ulongval; } modspecific_t; .Ed .Pp _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" Author: danger (doc committer) Date: Tue Jan 6 12:12:39 2009 New Revision: 186812 URL: http://svn.freebsd.org/changeset/base/186812 Log: MFC r180534: - Update the definition of modspecific structure PR: docs/125630 Submitted by: Mateusz Guzik <mjguzik@gmail.com> Modified: stable/6/lib/libc/ (props changed) stable/6/lib/libc/inet/inet_net_pton.c (props changed) stable/6/lib/libc/sys/ (props changed) stable/6/lib/libc/sys/modstat.2 Modified: stable/6/lib/libc/sys/modstat.2 ============================================================================== --- stable/6/lib/libc/sys/modstat.2 Tue Jan 6 12:10:23 2009 (r186811) +++ stable/6/lib/libc/sys/modstat.2 Tue Jan 6 12:12:39 2009 (r186812) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 13, 2007 +.Dd July 15, 2008 .Dt MODSTAT 2 .Os .Sh NAME @@ -55,9 +55,9 @@ struct module_stat { }; typedef union modspecific { int intval; - u_int u_intval; + u_int uintval; long longval; - u_long u_longval; + u_long ulongval; } modspecific_t; .Ed .Pp _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: patched->closed MFC'ed to both stable/6 and stable/7. |
modstat(2): typedef union modspecific { int intval; u_int u_intval; long longval; u_long u_longval; } modspecific_t; /usr/include/sys/module.h: typedef union modspecific { int intval; u_int uintval; long longval; u_long ulongval; } modspecific_t; Fix: Patch attached with submission follows: