diff options
Diffstat (limited to 'extlinux/main.c')
-rw-r--r-- | extlinux/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extlinux/main.c b/extlinux/main.c index a4b81cdd..c3de190b 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -198,7 +198,7 @@ int get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) * Generate sector extents */ static void generate_extents(struct syslinux_extent *ex, int nptrs, - sector_t *sectp, int nsect) + const sector_t *sectp, int nsect) { uint32_t addr = 0x7c00 + 2*SECTOR_SIZE; uint32_t base; @@ -222,7 +222,6 @@ static void generate_extents(struct syslinux_extent *ex, int nptrs, if (len) { set_64(&ex->lba, lba); set_16(&ex->len, len); - printf("EXTENT: %11lu / %5u\n", lba, len); ex++; } @@ -238,7 +237,6 @@ static void generate_extents(struct syslinux_extent *ex, int nptrs, if (len) { set_64(&ex->lba, lba); set_16(&ex->len, len); - printf("EXTENT: %11lu / %5u\n", lba, len); ex++; } } |