loader: beri_sdcard_disk_print() needs to return int.

The https://reviews.freebsd.org/rS308434 did change the return type for
dv_print callbacks, but the return type for beri_sdcard_disk_print()
was left unchanged, causing compile errors.

Reported by:	cy
Reviewed by:	brooks, rstone, allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D8515
This commit is contained in:
Toomas Soome 2016-11-17 18:38:35 +00:00
parent e20727061f
commit 00dbeb59ad

View File

@ -118,7 +118,7 @@ beri_sdcard_disk_close(struct open_file *f)
return (disk_close(dev));
}
static void
static int
beri_sdcard_disk_print(int verbose)
{
struct disk_devdesc dev;