summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-05-06 20:34:21 +0000
committermarcel <marcel@FreeBSD.org>2014-05-06 20:34:21 +0000
commit715111e7161516553983705259b859ac9b1de5be (patch)
treec211ecba3ec6d72728f538b10fbca4ac48323160 /usr.bin
parentf3f864daf5d2d0f7463f79ca785b0613ada090e9 (diff)
downloadFreeBSD-src-715111e7161516553983705259b859ac9b1de5be.zip
FreeBSD-src-715111e7161516553983705259b859ac9b1de5be.tar.gz
In apm_write(), both fd and imgsz are referenced, so don't mark the
arguments as unused.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mkimg/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkimg/apm.c b/usr.bin/mkimg/apm.c
index f07d3d9..a955656 100644
--- a/usr.bin/mkimg/apm.c
+++ b/usr.bin/mkimg/apm.c
@@ -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;
OpenPOWER on IntegriCloud