summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index cf2665494f..df89db3651 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -802,10 +802,10 @@ static int update_fat_entry(IF_MV2(struct bpb* fat_bpb,)
802 LDEBUGF("update_fat_entry(%x,%x)\n",entry,val); 802 LDEBUGF("update_fat_entry(%x,%x)\n",entry,val);
803 803
804 if (entry==val) 804 if (entry==val)
805 panicf("Creating FAT loop: %x,%x\n",entry,val); 805 panicf("Creating FAT loop: %lx,%lx\n",entry,val);
806 806
807 if ( entry < 2 ) 807 if ( entry < 2 )
808 panicf("Updating reserved FAT entry %d.\n",entry); 808 panicf("Updating reserved FAT entry %ld.\n",entry);
809 809
810 sec = cache_fat_sector(IF_MV2(fat_bpb,) sector, true); 810 sec = cache_fat_sector(IF_MV2(fat_bpb,) sector, true);
811 if (!sec) 811 if (!sec)