Skip to content

Commit

Permalink
Merge pull request #815 from skliper/fix814-stub_helper
Browse files Browse the repository at this point in the history
Fix #814, UT Stub match macro behavior
  • Loading branch information
astrogeco authored Feb 24, 2021
2 parents ff499f1 + 1f60c85 commit 58823bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ut-stubs/osapi-utstub-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static int32 UT_GenericReadStub(const char *fname, UT_EntryKey_t fkey, void *buf
int32 status;
size_t CopySize;

status = UT_DefaultStubImpl(fname, fkey, 0x7FFFFFFF);
status = UT_DefaultStubImpl(fname, fkey, 0x7FFFFFFF, NULL);

if (status == 0x7FFFFFFF)
{
Expand Down Expand Up @@ -86,7 +86,7 @@ static int32 UT_GenericWriteStub(const char *fname, UT_EntryKey_t fkey, const vo
int32 status;
size_t CopySize;

status = UT_DefaultStubImpl(fname, fkey, 0x7FFFFFFF);
status = UT_DefaultStubImpl(fname, fkey, 0x7FFFFFFF, NULL);

if (status == 0x7FFFFFFF)
{
Expand Down

0 comments on commit 58823bb

Please sign in to comment.