11631 SPARC NULL pointer error in libds
Review Request #2265 — Created Aug. 28, 2019 and submitted
Information | |
---|---|
ptribble | |
illumos-gate | |
11631 | |
Reviewers | |
general | |
NULL pointer errors building libds on SPARC: ../common/libds.c:105: error: passing argument 1 of 'ds_hdl_to_dslibentry' makes integer from pointer without a cast ../common/libds.c:128: error: comparison between pointer and integer ../common/libds.c:145: error: comparison between pointer and integer ../common/libds.c:204: error: assignment makes integer from pointer without a cast ../common/libds.c:300: error: assignment makes integer from pointer without a cast ../common/libds.c:717: error: comparison between pointer and integer
Build clean; wsdiff shows no changes.
-
-
usr/src/lib/libds/common/libds.c (Diff revision 1) How about using
DS_INVALID_HDL
instead of the literal 0?
(Ship it either way)