summaryrefslogtreecommitdiff
path: root/mkubootenv.c
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-10-26 09:01:30 +0100
committerTobias Klauser <klto@zhaw.ch>2009-10-26 09:01:30 +0100
commitdbefbdaaa6b97d28a3fa6b0ca37fcdbc07594ba6 (patch)
tree951814b2cc5377159a226e323b5396449d056af6 /mkubootenv.c
parent68a702f97d226d16a14a8795fa228601bd0fd44a (diff)
Emit warning in case no end of data is encountered
Diffstat (limited to 'mkubootenv.c')
-rw-r--r--mkubootenv.c3
1 files changed, 3 insertions, 0 deletions
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))