> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf
> Of Neuromancer
> Sent: Thursday, January 31, 2002 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker] chkconfig segfaults
> 
> Thus spake Borsenkow Andrej about Life, the Universe, and Everything:
> | +    if (stat("/usr/sbin/msec", &stat) < 0) {
> |                                  ^^^^ this must be `buf' not `stat'.
> 
> I hope you don't mind, but I was wondering if you could explain the
> difference
> to me.  Maybe I can learn something today.  ;)

buf is variable which address is (to be) taken. I do not know how
compiler interprets stat in this context. You can't take address of
structure type name to my best knowledge.

-andrej

Reply via email to