diff options
Diffstat (limited to 'fatfs')
-rw-r--r-- | fatfs/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatfs/pager.c b/fatfs/pager.c index 0c590841..10d1fc96 100644 --- a/fatfs/pager.c +++ b/fatfs/pager.c @@ -152,7 +152,7 @@ root_dir_pager_read_page (vm_offset_t page, void **buf, int *writelock) pthread_rwlock_unlock (&diskfs_root_node->dn->alloc_lock); if (overrun) - bzero ((void *) *buf + vm_page_size - overrun, overrun); + memset ((void *)*buf + vm_page_size - overrun, 0, overrun); return err; } |