Changeset 23 for trunk/tools/bootloader_tsar/boot_fat32.c
- Timestamp:
- Jun 18, 2017, 10:06:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bootloader_tsar/boot_fat32.c
r6 r23 889 889 &size)) 890 890 { 891 boot_printf("\n[BOOT ERROR] boot_fat32_load(): " 892 "File <%s> not found\n", 893 pathname); 891 boot_printf("\n[BOOT ERROR] in %s : File <%s> not found\n", 892 __FUNCTION__ , pathname); 894 893 return -1; 895 894 } … … 898 897 if (size > buff_size) 899 898 { 900 boot_printf("\n[BOOT ERROR] boot_fat32_load(): " 901 "File <%s> is too large (%x bytes) / " 899 boot_printf("\n[BOOT ERROR] in %s : file <%s> is too large (%x bytes) / " 902 900 "buffer size = %x bytes\n", 903 pathname, size, buff_size);901 __FUNCTION__ , pathname , size , buff_size ); 904 902 return -1; 905 903 } … … 924 922 boot_fat.cluster_size / boot_fat.sector_size ) ) 925 923 { 926 boot_printf("\n[BOOT ERROR] boot_fat32_load(): " 927 "Cannot load cluster at LBA %x\n", 928 cluster_lba); 924 boot_printf("\n[BOOT ERROR] in %s : cannot load cluster at LBA %x\n", 925 __FUNCTION__ , cluster_lba ); 929 926 return -1; 930 927 } … … 933 930 if ( get_next_cluster_hard( cur_cluster , &nxt_cluster ) ) 934 931 { 935 boot_printf("\n[BOOT ERROR] boot_fat32_load(): " 936 "Cannot get next cluster for cluster %x\n", 937 cur_cluster); 932 boot_printf("\n[BOOT ERROR] in %s : cannot get next cluster for cluster %x\n", 933 __FUNCTION__ , cur_cluster ); 938 934 return -1; 939 935 }
Note: See TracChangeset
for help on using the changeset viewer.