diff options
Diffstat (limited to 'nuttx/drivers/rwbuffer.c')
-rw-r--r-- | nuttx/drivers/rwbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/rwbuffer.c b/nuttx/drivers/rwbuffer.c index eb696ae6a..e495660f3 100644 --- a/nuttx/drivers/rwbuffer.c +++ b/nuttx/drivers/rwbuffer.c @@ -387,7 +387,7 @@ int rwb_initialize(FAR struct rwbuffer_s *rwb) rwb->wrbuffer = NULL; #endif #ifdef CONFIG_FS_READAHEAD - DEBUGASSERT(rwb->rhnblocks > 0); + DEBUGASSERT(rwb->rhblocks > 0); DEBUGASSERT(rwb->rhreload != NULL); rwb->rhbuffer = NULL; #endif |