CVS commit: src/sys/arch/sparc64/sparc64

"Robert Elz" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	kre
Date:		Mon Jun  1 21:27:35 UTC 2026

Modified Files:
	src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
More corrections...

I was also looking at the build breakage fixed by the previous commit.
I found another issue (non-build breaking) though:

Free the results from prom_getprop() in the newly added code, if a
subsequent malloc() fails (don't lose memory).

Also properly indent a line whose preceding condition shifted right
(existing code from previously, now not always executed).

Feel free to redo these changes some other (non build-breaking) way.


To generate a diff of this commit:
cvs rdiff -u -r1.249 -r1.250 src/sys/arch/sparc64/sparc64/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.