Date: Wed, 17 Mar 2004 17:24:51 +0300 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: Toni Andjelkovic <toni@soth.at> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel modules programming: struct proc question Message-ID: <20040317142451.GC2506@lame.novel.ru> In-Reply-To: <20040316181307.GA6576@tv.soth.at> References: <20040316163956.GD638@lame.novel.ru> <20040316181307.GA6576@tv.soth.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317142451.GC2506>