On Fri, May 13, 2011 at 11:39:01AM +0200, Mike Belopuhov wrote:

> On Fri, May 13, 2011 at 11:26 AM, Mark Kettenis <[email protected]> 
> wrote:
> >> From: Vadim Zhukov <[email protected]>
> >> Date: Fri, 13 May 2011 13:10:10 +0400
> >>
> >> Hello all.
> >>
> >> Looks like there is a typo in ioctl number...
> >
> > What makes you think this is a typo?
> >
> 
> there are two ioctls with the same command number:
> 
> #define BIOCDISCIPLINE _IOWR('B', 40, struct bioc_discipline)
> #define BIOCINSTALLBOOT _IOWR('B', 40, struct bioc_installboot)

Only if the two structs happen to have the same size they will clash.

        -Otto

Reply via email to