commit | 677fa5c4204e0086cf54a3e69281f3ddcb0dff18 | [log] [tgz] |
---|---|---|
author | Helge Deller <deller@gmx.de> | Mon Aug 08 21:38:26 2022 +0200 |
committer | Helge Deller <deller@gmx.de> | Mon Aug 08 21:38:26 2022 +0200 |
tree | de71ab6b2452855f38fa9e1c2b49a64ff27ed2dd | |
parent | 8751677c76afeae432f0be7ef1b19a0b302bcd46 [diff] |
ext2: Make error message human readable Say so, if the partition doesn't hold an ext2 filesystem. Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/ipl/ext2.c b/ipl/ext2.c index 81ebcac..6add1a0 100644 --- a/ipl/ext2.c +++ b/ipl/ext2.c
@@ -288,7 +288,7 @@ if (__le16_to_cpu(sb.s_magic) != EXT2_SUPER_MAGIC) { if (!quiet) { - printf("ext2_init: bad magic 0x%x\n", sb.s_magic); + printf("This is not a ext2 filesystem (magic 0x%x)\n", sb.s_magic); } return -1; }