1
0
Fork 0
forked from len0rd/rockbox

long policy fixes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-02-28 10:52:28 +00:00
parent 5abca3c226
commit 06ded52f3c

View file

@ -802,10 +802,10 @@ static int update_fat_entry(IF_MV2(struct bpb* fat_bpb,)
LDEBUGF("update_fat_entry(%x,%x)\n",entry,val); LDEBUGF("update_fat_entry(%x,%x)\n",entry,val);
if (entry==val) if (entry==val)
panicf("Creating FAT loop: %x,%x\n",entry,val); panicf("Creating FAT loop: %lx,%lx\n",entry,val);
if ( entry < 2 ) if ( entry < 2 )
panicf("Updating reserved FAT entry %d.\n",entry); panicf("Updating reserved FAT entry %ld.\n",entry);
sec = cache_fat_sector(IF_MV2(fat_bpb,) sector, true); sec = cache_fat_sector(IF_MV2(fat_bpb,) sector, true);
if (!sec) if (!sec)