svn commit: r265462 - head/usr.bin/mkimg

Marcel Moolenaar marcel at FreeBSD.org
Tue May 6 20:34:22 UTC 2014


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;


More information about the svn-src-all mailing list