Changeset 0f269c2 in mainline for kernel/generic/src/sysinfo/sysinfo.c


Ignore:
Timestamp:
2008-06-03T14:46:06Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b8b0ca
Parents:
c70d693
Message:

proper printf formatting & coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/sysinfo.c

    rc70d693 r0f269c2  
    178178       
    179179        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;                   
    181181                item->val_type = SYSINFO_VAL_VAL;
    182182        }
     
    193193       
    194194        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;                   
    196196                item->val_type = SYSINFO_VAL_FUNCTION;
    197197        }
     
    245245                }
    246246               
    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,
    248248                        val, (root->subinfo_type == SYSINFO_SUBINFO_NONE) ?
    249249                        "NON" : ((root->subinfo_type == SYSINFO_SUBINFO_TABLE) ?
Note: See TracChangeset for help on using the changeset viewer.