forked from espressif/esp-idf
b1c4107275
...otherwise some fields will contain garbage values. This wasn't noticed until HAVE_BLKSIZE got enabled in newlib builds.