# | Line 74 | Line 74 | static mapping_t *mapping = NULL; | |
---|---|---|
74 | #endif | |
75 | ||
76 | #ifdef SOLARIS | |
77 | < | char *get_svr_from_bsd(char *bsd){ |
77 | > | const char *get_svr_from_bsd(const char *bsd){ |
78 | #ifdef HAVE_LIBDEVINFO_H | |
79 | mapping_t *map_ptr; | |
80 | for(map_ptr = mapping; map_ptr != NULL; map_ptr = map_ptr->next) | |
# | Line 216 | Line 216 | int build_mapping(){ | |
216 | int found; | |
217 | ||
218 | if ((kc = kstat_open()) == NULL) { | |
219 | < | return; |
219 | > | return 1; |
220 | } | |
221 | ||
222 | for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |