From owner-freebsd-doc@FreeBSD.ORG Tue Jul 15 09:40:04 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5B71065686 for ; Tue, 15 Jul 2008 09:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 322B18FC2F for ; Tue, 15 Jul 2008 09:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6F9e4AH071838 for ; Tue, 15 Jul 2008 09:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6F9e4aK071835; Tue, 15 Jul 2008 09:40:04 GMT (envelope-from gnats) Resent-Date: Tue, 15 Jul 2008 09:40:04 GMT Resent-Message-Id: <200807150940.m6F9e4aK071835@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mateusz Guzik Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D158C1065677 for ; Tue, 15 Jul 2008 09:37:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B8F788FC31 for ; Tue, 15 Jul 2008 09:37:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6F9b2vf069909 for ; Tue, 15 Jul 2008 09:37:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m6F9b2IW069908; Tue, 15 Jul 2008 09:37:02 GMT (envelope-from nobody) Message-Id: <200807150937.m6F9b2IW069908@www.freebsd.org> Date: Tue, 15 Jul 2008 09:37:02 GMT From: Mateusz Guzik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/125630: [patch] modstat(2) contains outdated union modspecific X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 09:40:04 -0000 >Number: 125630 >Category: docs >Synopsis: [patch] modstat(2) contains outdated union modspecific >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 15 09:40:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mateusz Guzik >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD eternal 8.0-CURRENT FreeBSD 8.0-CURRENT #17: Tue Jul 15 02:29:03 CEST 2008 f@eternal:/usr/obj/usr/src/sys/ETERNAL i386 >Description: 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; >How-To-Repeat: >Fix: Patch attached with submission follows: --- lib/libc/sys/modstat.2.orig 2008-07-15 11:29:21.000000000 +0200 +++ lib/libc/sys/modstat.2 2008-07-15 11:31:34.000000000 +0200 @@ -53,13 +53,13 @@ int id; modspecific_t data; }; 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 .Bl -tag -width XXXaddress .It version >Release-Note: >Audit-Trail: >Unformatted: