setenv: Be more informative when device parameter setting fails
When setting a device parameter fails not only the error code
is of interest, but also what the parameter name is, what the
device name is and whether a device was found for this name.
Add this information to the error message.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 10bb13e commit 6d4afd96fc94a3f2d256ef4e8d7c9687a145a701
@Sascha Hauer Sascha Hauer authored on 28 Apr 2015
Showing 1 changed file
View
common/env.c