libfile: Make use of write_full() in copy_file()
Change copy_file() to rely on write_full() instead of re-implementing
it locally.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bbe6529 commit d696289d6eba0b578b3a9ba506fc23cdc507b025
@Andrey Smirnov Andrey Smirnov authored on 12 Mar 2019
Sascha Hauer committed on 13 Mar 2019
Showing 1 changed file
View
lib/libfile.c