diff options
Diffstat (limited to 'common/image-android.c')
-rw-r--r-- | common/image-android.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c index 5cd3a8c..d56380d 100644 --- a/common/image-android.c +++ b/common/image-android.c @@ -46,7 +46,6 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, int len = 0; if (*hdr->cmdline) { - printf("Kernel command line: %s\n", hdr->cmdline); len += strlen(hdr->cmdline); } @@ -66,6 +65,8 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, } else if (*hdr->cmdline) { strcat(newbootargs, hdr->cmdline); } + + printf("Kernel command line: %s\n", newbootargs); #ifdef CONFIG_SERIAL_TAG struct tag_serialnr serialnr; char commandline[ANDR_BOOT_ARGS_SIZE]; |