summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 9d0a8d415a..7d936cf42f 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -195,8 +195,9 @@ int main (int argc, char** argv)
195 195
196 if ((method == scramble) && 196 if ((method == scramble) &&
197 ((length + headerlen) >= size_limit[model_id])) { 197 ((length + headerlen) >= size_limit[model_id])) {
198 printf("error: max firmware size is %dKB!\n", 198 printf("error: firmware image is %d bytes while max size is %d!\n",
199 size_limit[model_id]/1024); 199 length + headerlen,
200 size_limit[model_id]);
200 fclose(file); 201 fclose(file);
201 return -1; 202 return -1;
202 } 203 }