diff options
Diffstat (limited to 'src/ftdump.c')
| -rw-r--r-- | src/ftdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftdump.c b/src/ftdump.c index 2871537..4a7b3bf 100644 --- a/src/ftdump.c +++ b/src/ftdump.c | |||
| @@ -34,13 +34,13 @@ int main(int argc, char** argv) | |||
| 34 | struct timestamp* ts; | 34 | struct timestamp* ts; |
| 35 | 35 | ||
| 36 | printf("struct timestamp:\n" | 36 | printf("struct timestamp:\n" |
| 37 | "\t size = %3lu\n" | 37 | "\t size = %3u\n" |
| 38 | "\t offset(timestamp) = %3u\n" | 38 | "\t offset(timestamp) = %3u\n" |
| 39 | "\t offset(seq_no) = %3u\n" | 39 | "\t offset(seq_no) = %3u\n" |
| 40 | "\t offset(cpu) = %3u\n" | 40 | "\t offset(cpu) = %3u\n" |
| 41 | "\t offset(event) = %3u\n" | 41 | "\t offset(event) = %3u\n" |
| 42 | "\t offset(task_type) = %3u\n", | 42 | "\t offset(task_type) = %3u\n", |
| 43 | sizeof(struct timestamp), | 43 | (unsigned int) sizeof(struct timestamp), |
| 44 | offset(struct timestamp, timestamp), | 44 | offset(struct timestamp, timestamp), |
| 45 | offset(struct timestamp, seq_no), | 45 | offset(struct timestamp, seq_no), |
| 46 | offset(struct timestamp, cpu), | 46 | offset(struct timestamp, cpu), |
