Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 20:34:21 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265462 - head/usr.bin/mkimg
Message-ID:  <201405062034.s46KYLFX018657@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Tue May  6 20:34:21 2014
New Revision: 265462
URL: http://svnweb.freebsd.org/changeset/base/265462

Log:
  In apm_write(), both fd and imgsz are referenced, so don't mark the
  arguments as unused.

Modified:
  head/usr.bin/mkimg/apm.c

Modified: head/usr.bin/mkimg/apm.c
==============================================================================
--- head/usr.bin/mkimg/apm.c	Tue May  6 19:39:57 2014	(r265461)
+++ head/usr.bin/mkimg/apm.c	Tue May  6 20:34:21 2014	(r265462)
@@ -63,7 +63,7 @@ apm_metadata(u_int where)
 }
 
 static int
-apm_write(int fd __unused, lba_t imgsz __unused, void *bootcode __unused)
+apm_write(int fd, lba_t imgsz, void *bootcode __unused)
 {
 	u_char *buf;
 	struct apm_ddr *ddr;



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