]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: env: fw_parse_script: simplify removal of newline/carriage return
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Fri, 11 Mar 2016 08:39:38 +0000 (09:39 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 26 Mar 2016 22:49:29 +0000 (18:49 -0400)
commit69067a34b1ab1fb14f0183acb85358db60aac484
tree4c252a4c95244a1664cc525562e5e7f1069ae17d
parent938c29ff41b40a1b6cafc9bcc81b89ad2bd537ba
tools: env: fw_parse_script: simplify removal of newline/carriage return

fgets returns when the first '\n' is found

Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
tools/env/fw_env.c