busybox: Clear errstr after setting errno
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 1 Mar 2018 17:10:12 +0000 (12:10 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Mar 2018 20:43:05 +0000 (16:43 -0400)
commit6266caf9452c5470d3f9f05509ac2e5392f4960f
treeb84b9ee8c1b0047cdf381afbb3e02d129d1fc86b
parent98be3ff060e31ff40e98af02e35cfd3dab8ab0b8
busybox: Clear errstr after setting errno

Otherwise, whenever BB prints an error message, it will print an old,
confusing errstr.

This is far from exhaustive: it's just the spot I noticed it.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/apps/busybox/akaros-patches/1.17.3/0009-unset_errno.patch [new file with mode: 0644]