diff options
Diffstat (limited to 'utils/rk27utils/rkboottool/rkboottool.c')
-rw-r--r-- | utils/rk27utils/rkboottool/rkboottool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rk27utils/rkboottool/rkboottool.c b/utils/rk27utils/rkboottool/rkboottool.c index ad08b0b5f6..8858d37478 100644 --- a/utils/rk27utils/rkboottool/rkboottool.c +++ b/utils/rk27utils/rkboottool/rkboottool.c | |||
@@ -212,7 +212,8 @@ int main (int argc, char **argv) | |||
212 | { | 212 | { |
213 | fclose(fp_in); | 213 | fclose(fp_in); |
214 | fprintf(stderr, "error: can't read %s file header\n", in_filename); | 214 | fprintf(stderr, "error: can't read %s file header\n", in_filename); |
215 | fprintf(stderr, "read %d, expected %d\n", ret, sizeof(rkboot_info)); | 215 | fprintf(stderr, "read %d, expected %lu\n", |
216 | ret, (unsigned long)sizeof(rkboot_info)); | ||
216 | return -2; | 217 | return -2; |
217 | } | 218 | } |
218 | 219 | ||