diff options
author | marcel <marcel@FreeBSD.org> | 2014-05-06 20:34:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-05-06 20:34:21 +0000 |
commit | 715111e7161516553983705259b859ac9b1de5be (patch) | |
tree | c211ecba3ec6d72728f538b10fbca4ac48323160 | |
parent | f3f864daf5d2d0f7463f79ca785b0613ada090e9 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | usr.bin/mkimg/apm.c | 2 |
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; |