yanglint BUGFIX check fstat() return value
yanglint BUGFIX check fstat() return value

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,lukasmacko/libyang