diff --git a/utils/fwlog/dbglog_host.c b/utils/fwlog/dbglog_host.c index ad8c56f84d54..34165ef46e57 100644 --- a/utils/fwlog/dbglog_host.c +++ b/utils/fwlog/dbglog_host.c @@ -4060,7 +4060,7 @@ static ssize_t dbglog_block_read(struct file *file, char *buf; int ret; - buf = vmalloc(count); + buf = vzalloc(count); if (!buf) return -ENOMEM;