V4L/DVB (5920): ivtv: fix incorrect fw size report.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Hans Verkuil 2007-07-22 11:12:26 -03:00 committed by Mauro Carvalho Chehab
parent 5a338c38ce
commit be9a5c7d9a
1 changed files with 1 additions and 1 deletions

View File

@ -72,8 +72,8 @@ static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv
dst++;
src++;
}
release_firmware(fw);
IVTV_INFO("Loaded %s firmware (%zd bytes)\n", fn, fw->size);
release_firmware(fw);
return size;
}
IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size);