ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/tools.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/tools.c (file contents):
Revision 1.37 by ats, Sun Apr 4 23:55:48 2004 UTC vs.
Revision 1.39 by tdb, Mon Apr 5 00:17:40 2004 UTC

# 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) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines