Date: Sun, 30 Jun 2002 15:30:03 -0700 (PDT) From: Hye-Shik Chang <perky@fallin.lv> To: freebsd-doc@FreeBSD.org Subject: Re: docs/40038: src/share/man/man4/ifmib.4 : syntax error on example code Message-ID: <200206302230.g5UMU38V053533@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/40038; it has been noted by GNATS.
From: Hye-Shik Chang <perky@fallin.lv>
To: Hye-Shik Chang <perky@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/40038: src/share/man/man4/ifmib.4 : syntax error on example code
Date: Mon, 1 Jul 2002 07:21:50 +0900
> --- ifmib.4.orig Mon Jul 1 01:23:48 2002
> +++ ifmib.4 Mon Jul 1 01:26:46 2002
> @@ -101,6 +101,7 @@
> get_ifmib_general(int row, struct ifmibdata *ifmd)
> {
> int name[6];
> + int len = sizeof *ifmd;
>
> name[0] = CTL_NET;
> name[1] = PF_LINK;
Oh. sorry, len's type must be changed to size_t.
--
Hye-Shik Chang <perky@fallin.lv>
Yonsei University, Seoul
^D
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206302230.g5UMU38V053533>
