From 94823c65ac7555a7ed19521184064255902ff615 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 12 Jun 2009 17:12:41 +0000 Subject: Fix beastpatcher on linux and code police. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21263 a1c6a512-1295-4272-9138-f99709370657 --- utils/MTP/beastpatcher/beastpatcher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/MTP/beastpatcher/beastpatcher.c') diff --git a/utils/MTP/beastpatcher/beastpatcher.c b/utils/MTP/beastpatcher/beastpatcher.c index f0d9394f11..05993531ff 100644 --- a/utils/MTP/beastpatcher/beastpatcher.c +++ b/utils/MTP/beastpatcher/beastpatcher.c @@ -146,7 +146,7 @@ int beastpatcher(void) return 1; } - printf("[INFO] Found device \"%s - %s\"\n", mtp_info.manufacturer, + printf("[INFO] Found device \"%s - %s\"\n", mtp_info.manufacturer, mtp_info.modelname); printf("[INFO] Device version: \"%s\"\n",mtp_info.version); @@ -162,11 +162,11 @@ int beastpatcher(void) if (fwbuf == NULL) return 1; - + if (mtp_send_firmware(&mtp_info, fwbuf, fwsize) == 0) { fprintf(stderr,"[INFO] Bootloader installed successfully.\n"); - } + } else { fprintf(stderr,"[ERR] Bootloader install failed.\n"); -- cgit v1.2.3