NetBSD-Bugs archive

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

Re: bin/47101 (ipmon(8) alignment problem on 32-bit sparc)



On Thu, Oct 25, 2012 at 10:15:05PM +0000, Takeshi Nakayama wrote:
>  We need something as below.

Does that even compile ?

>  +print_natlog(config_t *conf, const void *buf, const iplog_t *ipl)
>  { ... }

>  +print_statelog(config_t *conf, const void *buf, const iplog_t *ipl)
>  { ...
>  +                            print_ipflog(conf, buf, &ipl);
...
>  +                            print_natlog(conf, buf, &ipl);
...
>  +                            print_statelog(conf, buf, &ipl);
> ... }
>   
>  +print_ipflog(config_t *conf, const  void *buf, const iplog_t *ipl)
{ ... }

I also can't see where you are doing the 'realignment copy'.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index