diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:26 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:26 -0700 |
commit | fcd2ce0149d23a0c132a268a1846eca31dc37752 (patch) | |
tree | 87d64958a2f2cffcf37123d3905891f83c2d66f4 /com32/lib/syslinux/dump_mmap.c | |
parent | 81c1d82d7b1e039619f733968cae8a16139ed3c3 (diff) | |
download | syslinux-fcd2ce0149d23a0c132a268a1846eca31dc37752.tar.gz |
Run Nindent on com32/lib/syslinux/dump_mmap.c
Automatically reformat com32/lib/syslinux/dump_mmap.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/syslinux/dump_mmap.c')
-rw-r--r-- | com32/lib/syslinux/dump_mmap.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/com32/lib/syslinux/dump_mmap.c b/com32/lib/syslinux/dump_mmap.c index 90ab840a..3f1e340b 100644 --- a/com32/lib/syslinux/dump_mmap.c +++ b/com32/lib/syslinux/dump_mmap.c @@ -35,14 +35,13 @@ #include <stdio.h> #include <syslinux/movebits.h> -void syslinux_dump_memmap(FILE *file, struct syslinux_memmap *memmap) +void syslinux_dump_memmap(FILE * file, struct syslinux_memmap *memmap) { - fprintf(file, "%10s %10s %10s\n" - "--------------------------------\n", - "Start", "Length", "Type"); - while (memmap->next) { - fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start, - memmap->next->start - memmap->start, memmap->type); - memmap = memmap->next; - } + fprintf(file, "%10s %10s %10s\n" + "--------------------------------\n", "Start", "Length", "Type"); + while (memmap->next) { + fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start, + memmap->next->start - memmap->start, memmap->type); + memmap = memmap->next; + } } |