Re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread Christos Zoulas
In article <21181.1550538...@splode.eterna.com.au>, matthew green wrote: >Christos Zoulas writes: >> In article <20190219003451.093b2f...@cvs.netbsd.org>, >> matthew green wrote: >> >-=-=-=-=-=- >> >> >+ memcpy(intrnames, inames, MAX_INAME_LENGTH); >> >> That should be: >> memcpy(intrna

re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread matthew green
Christos Zoulas writes: > In article <20190219003451.093b2f...@cvs.netbsd.org>, > matthew green wrote: > >-=-=-=-=-=- > > >+memcpy(intrnames, inames, MAX_INAME_LENGTH); > > That should be: > memcpy(intrnames, inames, sizeof(intrnames)); well. maybe. but it's not really any better.

Re: CVS commit: src/sys/arch/mac68k/mac68k

2019-02-18 Thread Christos Zoulas
In article <20190219003451.093b2f...@cvs.netbsd.org>, matthew green wrote: >-=-=-=-=-=- >+ memcpy(intrnames, inames, MAX_INAME_LENGTH); That should be: memcpy(intrnames, inames, sizeof(intrnames)); christos