Module Name: src Committed By: jnemeth Date: Tue Aug 19 18:20:51 UTC 2014
Modified Files: src/sys/arch/sparc64/dev: fdc.c Log Message: Sync with sparc/dev/fd.c:1.155. Fix panic() on opening fd(4), caused by a wrong pointer passed to memset(). I'm not sure why this 18 year old bug didn't cause problem before (at least my old 5.99.23 kernel worked), but probably it's triggered by new gcc 4.8 which might do more aggressive memory allocation. The problem is found by Nobuyoshi Sato on trying eject(1) against fd(4). Should be pulled up to netbsd-7. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/sparc64/dev/fdc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.