Module Name:    src
Committed By:   jmmv
Date:           Tue Jul 17 03:13:31 UTC 2012

Modified Files:
        src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
OF_finddevice returns -1 on error, not an arbitrary negative number.  Make
conditional explicit so that model_name gets a chance to be initialized when
the handle for the device is actually negative (which appears to be the case
in my Mac Mini G4).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/oea/ofwoea_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to