*BSD News Article 48364


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!oleane!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FWTK toolkit and syslogd
Date: 7 Aug 1995 13:14:30 +0200
Organization: Private U**x site, Dresden.
Lines: 23
Message-ID: <404sim$ja3@bonnie.tcd-dresden.de>
References: <VtQIwAEEBh107h@ndf.pandora.sax.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Dirk Nerling <nerle@ndf.pandora.sax.de> wrote:

>wall# make
>cc -g -c logit.c
>logit.c: In function `main':
>logit.c:54: too few arguments to function `openlog'
>logit.c:65: warning: passing arg 1 of `fgets' from incompatible pointer type
>logit.c:65: warning: passing arg 2 of `fgets' makes integer from pointer without
> a cast
>logit.c:65: warning: passing arg 3 of `fgets' makes pointer from integer without
> a cast
>*** Error code 1

Ya' know, Dirk, you could have asked me directly for this. :)

Can you quote the appropriate portions of code for the above errors?

Can you quote the openlog() arguments?
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)