]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mtdparts: merge incorrectly split message parts in error message
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 23 Jul 2013 12:03:33 +0000 (14:03 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 23 Jul 2013 12:03:33 +0000 (14:03 +0200)
common/cmd_mtdparts.c

index 06fc171fe33abcfd2fcbd1847c311829cfb4b6a2..9b77ac41e4e1e1ad036ab2d77518693804b47db6 100644 (file)
@@ -338,8 +338,7 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
                 * checking for alignment is easy here
                 */
                if ((unsigned long)part->offset % mtd->erasesize) {
                 * checking for alignment is easy here
                 */
                if ((unsigned long)part->offset % mtd->erasesize) {
-                       printf("%s%d: partition (%s) start offset"
-                              "alignment incorrect\n",
+                       printf("%s%d: partition (%s) start offset alignment incorrect\n",
                               MTD_DEV_TYPE(id->type), id->num, part->name);
                        return 1;
                }
                               MTD_DEV_TYPE(id->type), id->num, part->name);
                        return 1;
                }