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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to