Browse code

mbr: increased clarity on boot section scan ftype: increased clarity on unsupported file systems

Kevin Lin authored on 2014/08/23 03:09:08
Showing 2 changed files
... ...
@@ -181,6 +181,7 @@ cli_file_t cli_partitiontype(const unsigned char *buf, size_t buflen, const stru
181 181
 	ptype = ptype->next;
182 182
     }
183 183
 
184
+    cli_dbgmsg("Partition type is potentially unsupported\n");
184 185
     return CL_TYPE_PART_ANY;
185 186
 }
186 187
 
... ...
@@ -454,7 +454,7 @@ static int mbr_check_mbr(struct mbr_boot_record *record, size_t maplen, size_t s
454 454
 
455 455
     /* check the maplen */
456 456
     if ((maplen / sectorsize) < 2) {
457
-        cli_dbgmsg("cli_scanmbr: file is too small to hold disk image\n");
457
+        cli_dbgmsg("cli_scanmbr: bootstrap code or file is too small to hold disk image\n");
458 458
         return CL_EFORMAT;
459 459
     }
460 460