Changeset 6358


Ignore:
Timestamp:
2007-02-25T18:58:54+01:00 (10 years ago)
Author:
nbd
Message:

make ptgen print the end offset of the last partition as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/firmware-utils/src/ptgen.c

    r6352 r6358  
    142142                printf("%ld\n", ((long) start * 512)); 
    143143        } 
     144        printf("%ld\n", ((long) (start + len) * 512)); 
    144145 
    145146        if ((fd = open(filename, O_WRONLY|O_CREAT, 0644)) < 0) { 
Note: See TracChangeset for help on using the changeset viewer.