Rev 1880 | Rev 2071 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1880 | Rev 2015 | ||
---|---|---|---|
Line 242... | Line 242... | ||
242 | val = ((sysinfo_val_fn_t) (root->val.fn)) (root); |
242 | val = ((sysinfo_val_fn_t) (root->val.fn)) (root); |
243 | vtype = "FUN"; |
243 | vtype = "FUN"; |
244 | break; |
244 | break; |
245 | } |
245 | } |
246 | 246 | ||
247 | printf("%s %s val:%d(%x) sub:%s\n", root->name, vtype, val, val, (root->subinfo_type == SYSINFO_SUBINFO_NONE) ? "NON" : ((root->subinfo_type == SYSINFO_SUBINFO_TABLE) ? "TAB" : "FUN")); |
247 | printf("%s %s val:%d(%x) sub:%s\n", root->name, vtype, val, |
- | 248 | val, (root->subinfo_type == SYSINFO_SUBINFO_NONE) ? |
|
- | 249 | "NON" : ((root->subinfo_type == SYSINFO_SUBINFO_TABLE) ? |
|
- | 250 | "TAB" : "FUN")); |
|
248 | 251 | ||
249 | if (root->subinfo_type == SYSINFO_SUBINFO_TABLE) |
252 | if (root->subinfo_type == SYSINFO_SUBINFO_TABLE) |
250 | sysinfo_dump(&(root -> subinfo.table), depth + 1); |
253 | sysinfo_dump(&(root -> subinfo.table), depth + 1); |
251 | 254 | ||
252 | root = root->next; |
255 | root = root->next; |