diff options
Diffstat (limited to 'common/image-android.c')
-rw-r--r-- | common/image-android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c index 018c7594fe..e74d0aafca 100644 --- a/common/image-android.c +++ b/common/image-android.c @@ -72,7 +72,7 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, len += strlen(hdr->cmdline); } - char *bootargs = getenv("bootargs"); + char *bootargs = env_get("bootargs"); if (bootargs) len += strlen(bootargs); |