From: daniel Date: Mon, 7 Apr 2014 17:16:01 +0000 (+0200) Subject: cosmetics X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffstools.git;a=commitdiff_plain;h=f40b321cf8f273fae09e56075fe2f67b26cc2bd9 cosmetics fix and copy&paste mistake in an error message images to flash to volumes are of type ubifs rather than ubi --- 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; }