summaryrefslogtreecommitdiff
path: root/core/fs.c
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-06-23 17:59:06 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-06-23 17:59:06 +0800
commit58f6a16188b761a0512c807ce8fe88d99890e276 (patch)
tree2eee331751a0f6fbc0021b4cf4b19492a40a24d6 /core/fs.c
parentc757a46143e82b51e15d1c0428ad841f6ad48f02 (diff)
parent39f7aaa7b65411159316836e4294592eaf1c4d70 (diff)
downloadsyslinux-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fs.c b/core/fs.c
index ec817557..77d03575 100644
--- a/core/fs.c
+++ b/core/fs.c
@@ -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);