fw_printenv: Fix crash due to incorrect size for malloc'ed string.
Using sizeof gives the size of the pointer only, not the string. This
could easily lead to crashes when using -l argument.
Signed-off-by: NKristian Amlie <kristian.amlie@northern.tech>
Showing
想要评论请 注册 或 登录