From f40b321cf8f273fae09e56075fe2f67b26cc2bd9 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 7 Apr 2014 19:16:01 +0200 Subject: [PATCH] cosmetics fix and copy&paste mistake in an error message images to flash to volumes are of type ubifs rather than ubi --- ubi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ubi.c b/ubi.c index b2d7299..7cb8d62 100644 --- a/ubi.c +++ b/ubi.c @@ -166,7 +166,7 @@ static int main_image(char *partition, char *image, char *overlay) err = ubiattach(libubi, mtd); if (err) { - fprintf(stderr, "cannot detach \"%s\"", mtd); + fprintf(stderr, "cannot attach \"%s\"", mtd); return -1; } @@ -244,9 +244,9 @@ static int main_info(void) static int print_usage(void) { printf("ubi info\n"); - printf("ubi kernel \n"); - printf("ubi rootfs \n"); - printf("ubi overlay \n"); + printf("ubi kernel \n"); + printf("ubi rootfs \n"); + printf("ubi overlay \n"); return -1; } -- 2.25.1