gmio_stl: fix regression in gmio_stlb_read()
This commit is contained in:
parent
304e1c39bb
commit
3508eaa236
@ -93,7 +93,7 @@ int gmio_stlb_read(
|
||||
|
||||
/* Read header */
|
||||
if (gmio_stream_read(&trsf->stream, &header, GMIO_STLB_HEADER_SIZE, 1)
|
||||
!= GMIO_STLB_HEADER_SIZE)
|
||||
!= 1)
|
||||
{
|
||||
return GMIO_STL_ERROR_HEADER_WRONG_SIZE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user