Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7e752b2 in mainline for kernel/generic/src/sysinfo/sysinfo.c


Ignore:
Timestamp:
2010-11-26T01:33:20Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
bf61d3a
Parents:
202f57b
Message:
  • correct printf() formatting strings and corresponding arguments
  • minor cstyle changes and other small fixes
File:
1 edited

Legend:

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

    r202f57b r7e752b2  
    494494                        break;
    495495                case SYSINFO_VAL_DATA:
    496                         printf("+ %s (%" PRIs" bytes)\n", cur->name,
     496                        printf("+ %s (%zu bytes)\n", cur->name,
    497497                            cur->val.data.size);
    498498                        break;
     
    505505                        /* N.B.: No data was actually returned (only a dry run) */
    506506                        (void) cur->val.fn_data(cur, &size, true);
    507                         printf("+ %s (%" PRIs" bytes) [generated]\n", cur->name,
     507                        printf("+ %s (%zu bytes) [generated]\n", cur->name,
    508508                            size);
    509509                        break;
Note: See TracChangeset for help on using the changeset viewer.