Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] give gpioctl.c some love



On Aug 22, 2015, at 10:34 AM, Timo Buhrmester <fstd.lkml%gmail.com@localhost> wrote:

>> Look at it again ...
>> 
>>>  | +    oerrno = errno, errno = 0;
> Oh, you're right, that should of course happen at the beginning of the function.  Good catch, my bad.

As written, that line is equivalent to:

oerrno = errno = 0;

Did you want?

oerrno = errno;
errno = 0;


Home | Main Index | Thread Index | Old Index