diff options
Diffstat (limited to 'firmware/stub/vboot_api_stub_stream.c')
-rw-r--r-- | firmware/stub/vboot_api_stub_stream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/stub/vboot_api_stub_stream.c b/firmware/stub/vboot_api_stub_stream.c index 8e5d8a16..6748274a 100644 --- a/firmware/stub/vboot_api_stub_stream.c +++ b/firmware/stub/vboot_api_stub_stream.c @@ -42,7 +42,7 @@ vb2_error_t VbExStreamOpen(VbExDiskHandle_t handle, uint64_t lba_start, *stream = (void *)s; - return VBERROR_SUCCESS; + return VB2_SUCCESS; } vb2_error_t VbExStreamRead(VbExStream_t stream, uint32_t bytes, void *buffer) @@ -64,13 +64,13 @@ vb2_error_t VbExStreamRead(VbExStream_t stream, uint32_t bytes, void *buffer) return VBERROR_UNKNOWN; rv = VbExDiskRead(s->handle, s->sector, sectors, buffer); - if (rv != VBERROR_SUCCESS) + if (rv != VB2_SUCCESS) return rv; s->sector += sectors; s->sectors_left -= sectors; - return VBERROR_SUCCESS; + return VB2_SUCCESS; } void VbExStreamClose(VbExStream_t stream) |