Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 18:01:41 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328941 - stable/11/sys/boot/mips/beri/loader
Message-ID:  <201802061801.w16I1fvp009942@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Tue Feb  6 18:01:41 2018
New Revision: 328941
URL: https://svnweb.freebsd.org/changeset/base/328941

Log:
  MFC r308774: loader: beri_sdcard_disk_print() needs to return int.
  
  r308434 did change the return type for dv_print callbacks, but the return
  type for beri_sdcard_disk_print() was left unchanged, causing compile errors.

Modified:
  stable/11/sys/boot/mips/beri/loader/beri_disk_sdcard.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/boot/mips/beri/loader/beri_disk_sdcard.c
==============================================================================
--- stable/11/sys/boot/mips/beri/loader/beri_disk_sdcard.c	Tue Feb  6 17:26:11 2018	(r328940)
+++ stable/11/sys/boot/mips/beri/loader/beri_disk_sdcard.c	Tue Feb  6 18:01:41 2018	(r328941)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802061801.w16I1fvp009942>