Changeset 0f269c2 in mainline for kernel/generic/src/sysinfo/sysinfo.c
- Timestamp:
- 2008-06-03T14:46:06Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b8b0ca
- Parents:
- c70d693
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/sysinfo.c
rc70d693 r0f269c2 178 178 179 179 if (item != NULL) { /* If in subsystem, unable to create or return so unable to set */ 180 item->val.val =val;180 item->val.val = val; 181 181 item->val_type = SYSINFO_VAL_VAL; 182 182 } … … 193 193 194 194 if (item != NULL) { /* If in subsystem, unable to create or return so unable to set */ 195 item->val.fn =fn;195 item->val.fn = fn; 196 196 item->val_type = SYSINFO_VAL_FUNCTION; 197 197 } … … 245 245 } 246 246 247 printf("%s %s val:% d(%x) sub:%s\n", root->name, vtype, val,247 printf("%s %s val:%" PRIun "(%" PRIxn ") sub:%s\n", root->name, vtype, val, 248 248 val, (root->subinfo_type == SYSINFO_SUBINFO_NONE) ? 249 249 "NON" : ((root->subinfo_type == SYSINFO_SUBINFO_TABLE) ?
Note:
See TracChangeset
for help on using the changeset viewer.