From 8ea3e244d44190e44a092ffb004e13ad94174c68 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sun, 24 May 2015 23:30:12 +0200 Subject: porting ncurses... --- fs/ext2.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'fs/ext2.c') diff --git a/fs/ext2.c b/fs/ext2.c index 4f00000..1f4d04e 100644 --- a/fs/ext2.c +++ b/fs/ext2.c @@ -201,7 +201,9 @@ int ext2_inode_content(char *ram,int inode_nr,uint8_t *ramdest,int max) int sum=0; int count=0; - log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"Loading %d %d bytes",inode.size_high, inode.size_low); + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"Loading %d.%d bytes",inode.size_high, inode.size_low); + + if(inode.size_high>0)panic(FOOLOS_MODULE_NAME,"inode with high.size unsupported, i am sorry."); while(pos