Current-Users archive

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

Re: build failure in amd64-current in fss.c



On Tue, Nov 29, 2011 at 10:27:37PM -0800, Hisashi T Fujinaka wrote:
> /usr/src/sys/dev/fss.c: In function 'fss_ioctl':
> /usr/src/sys/dev/fss.c:367:2: error: duplicate case value
> /usr/src/sys/dev/fss.c:341:2: error: previously used here
> 
> Seems like case statements can't tell the difference between FSSIOCGET50
> and FSSIOCSET. Is that a compiler bug?

I guess the size of the ioctl structure did not change for 64bit ports - duh!
Manuel, is compat needed in this case at all? If not, we could ifndef _LP64
that case...

Martin


Home | Main Index | Thread Index | Old Index