diff options
author | Liu Aleaxander <Aleaxander@gmail.com> | 2009-06-23 17:59:06 +0800 |
---|---|---|
committer | Liu Aleaxander <Aleaxander@gmail.com> | 2009-06-23 17:59:06 +0800 |
commit | 58f6a16188b761a0512c807ce8fe88d99890e276 (patch) | |
tree | 2eee331751a0f6fbc0021b4cf4b19492a40a24d6 /core/fs.c | |
parent | c757a46143e82b51e15d1c0428ad841f6ad48f02 (diff) | |
parent | 39f7aaa7b65411159316836e4294592eaf1c4d70 (diff) | |
download | syslinux-58f6a16188b761a0512c807ce8fe88d99890e276.tar.gz |
Merge branch 'isolinux'
Conflicts:
core/Makefile
core/diskstart.inc
core/fs.c
Diffstat (limited to 'core/fs.c')
-rw-r--r-- | core/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdbool.h> #include <string.h> #include "fs.h" #include "cache.h" @@ -135,6 +136,7 @@ struct device * device_init(uint8_t devno, bool cdrom, sector_t part_start, void dump_dev(struct device *dev) { printf("device type:%s\n", dev->disk->type ? "EDD" : "CHS"); + printf("drive number: 0x%x\n", dev->disk->disk_number); printf("cache_data: %p\n", dev->cache_data); printf("cache_head: %p\n", dev->cache_head); printf("cache_block_size: %d\n", dev->cache_block_size); |