From dbefbdaaa6b97d28a3fa6b0ca37fcdbc07594ba6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 26 Oct 2009 09:01:30 +0100 Subject: Emit warning in case no end of data is encountered --- mkubootenv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mkubootenv.c') diff --git a/mkubootenv.c b/mkubootenv.c index f8b0bbc..598d95a 100644 --- a/mkubootenv.c +++ b/mkubootenv.c @@ -308,6 +308,9 @@ int main(int argc, char **argv) found_data_end = true; } + if (!found_data_end) + warn("No end of list delimiter found in source file\n"); + /* calculate the plain text file size */ t.size = p - (s.ptr + CRC32_SIZE); if (uboot_env_prepare_target(&t)) -- cgit v1.2.3-54-g00ecf