Author: tsoome
Date: Thu Nov 17 18:38:35 2016
New Revision: 308774
URL: https://svnweb.freebsd.org/changeset/base/308774

Log:
  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

Modified:
  head/sys/boot/mips/beri/loader/beri_disk_sdcard.c

Modified: head/sys/boot/mips/beri/loader/beri_disk_sdcard.c
==============================================================================
--- head/sys/boot/mips/beri/loader/beri_disk_sdcard.c   Thu Nov 17 18:13:42 
2016        (r308773)
+++ head/sys/boot/mips/beri/loader/beri_disk_sdcard.c   Thu Nov 17 18:38:35 
2016        (r308774)
@@ -118,7 +118,7 @@ beri_sdcard_disk_close(struct open_file 
        return (disk_close(dev));
 }
 
-static void
+static int
 beri_sdcard_disk_print(int verbose)
 {
        struct disk_devdesc dev;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to