From owner-freebsd-hackers Fri Mar 30 6:13:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 2BAEE37B71D for ; Fri, 30 Mar 2001 06:13:20 -0800 (PST) (envelope-from gvirdi@gvirdi.com) Received: from dhgfhcpps5nhe1 (ip141.schiller-park8.il.pub-ip.psi.net [38.31.125.141]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id GAA18952 for ; Fri, 30 Mar 2001 06:13:15 -0800 (PST) Message-ID: <001501c0b923$51754e10$8d7d1f26@dhgfhcpps5nhe1> From: "Gurpratap Virdi" To: Subject: Writing to a file in the kernel Date: Fri, 30 Mar 2001 08:11:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to debug some modifications I made to the kernel. I would like to write some debug messages to a log file however fopen(), fprint() don't work. It gives me a linking error when I try to use them. How can I do this? Thanks in advance! Virdi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message