Skip to content

Commit

Permalink
[devpdisk] devpDiskGetStats() was not using the correct variable, cau…
Browse files Browse the repository at this point in the history
…sing reported time to be all over the place. Error was instroduced in commit dfec9dc
  • Loading branch information
mywave82 committed Jul 30, 2023
1 parent b9b5a9f commit 145523c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devp/devpdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static void devpDiskPause (int pause)

static void devpDiskGetStats (uint64_t *committed, uint64_t *processed)
{
plrDriverAPI->ringbufferAPI->get_stats (devpDiskBuffer, committed, processed);
plrDriverAPI->ringbufferAPI->get_stats (devpDiskRingBuffer, committed, processed);
}

static const struct plrDevAPI_t devpDisk = {
Expand Down

0 comments on commit 145523c

Please sign in to comment.