From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 17 06:25:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62BC316A4CE for ; Wed, 17 Mar 2004 06:25:25 -0800 (PST) Received: from mx13.mail.ru (mx13.mail.ru [194.67.23.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2374843D31 for ; Wed, 17 Mar 2004 06:25:25 -0800 (PST) (envelope-from bogorodskiy@inbox.ru) Received: from [194.186.150.170] (port=49539 helo=localhost) by mx13.mail.ru with esmtp id 1B3bz0-000E8r-00; Wed, 17 Mar 2004 17:25:22 +0300 Date: Wed, 17 Mar 2004 17:24:51 +0300 From: Roman Bogorodskiy To: Toni Andjelkovic Message-ID: <20040317142451.GC2506@lame.novel.ru> References: <20040316163956.GD638@lame.novel.ru> <20040316181307.GA6576@tv.soth.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NtwzykIc2mflq5ck" Content-Disposition: inline In-Reply-To: <20040316181307.GA6576@tv.soth.at> "From: Roman Bogordskiy " User-Agent: Mutt/1.5.6i X-Spam: Not detected cc: freebsd-hackers@freebsd.org Subject: Re: kernel modules programming: struct proc question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 14:25:25 -0000 --NtwzykIc2mflq5ck Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Toni wrote: > pid_t is an unsigned number, so try "%u" in printf() instead. > There's no need to cast a pid_t to int. Doesn't help. It shows wrong pid's again... -Roman Bogorodskiy --NtwzykIc2mflq5ck Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQEVAwUBQFhfsypMDQ8aPhy0AQKAaQgAmXl4q7yXunHiuFyledWKgAC1V85PWz9F IEZeKd1E/RrBGNP+vvq3jOd8O118HBE+nNK/7p2w7jo6Vz6KG6FCuoTBuxhWetuZ rArO6wPl5BRNDeZLXqXROqG49+aFQJJUEoPfxUhiOBaQRYsUWd0dAHesPlZLwMns BF9tBvHp5Ob7ihOqQhPAlLFvqm6bJfnZ2qYkIoT8wmOm5tp+Zn3M+bvoJB3GDpQG NdyGIwoim8lc1flbYAH8f2ju8uEaPD2/fzCJ65JxpeUXCPbvOuNdQqERy/Jx7HQf 3UBU5t1le056c8ybn2sVFOLwDX/GnWAntwww7jCW1PEQNrsSnOi7lg== =zUJl -----END PGP SIGNATURE----- --NtwzykIc2mflq5ck--