commit | f9d416898870e0fa746e07785056212abd889243 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Mon Jul 02 14:47:47 2018 -0500 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jul 26 14:08:17 2018 -0500 |
tree | 5b394ab224c7162c373631d14ead423e9b1c714e | |
parent | 3c91d15f94c03040853cd1ccd1c135701cd27f09 [diff] |
sandbox: eth-raw: Make sure descriptors are always initialized If we let descriptors equal 0, we can end up closing STDIN. Make sure they start out as -1. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>