summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/bnx/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/microcode/bnx/build.c')
-rw-r--r--sys/dev/microcode/bnx/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/bnx/build.c b/sys/dev/microcode/bnx/build.c
index 2b8a66f936f..665b243b719 100644
--- a/sys/dev/microcode/bnx/build.c
+++ b/sys/dev/microcode/bnx/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.7 2014/07/12 19:01:49 tedu Exp $ */
+/* $OpenBSD: build.c,v 1.8 2016/12/18 18:28:38 krw Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -149,7 +149,7 @@ write_firmware(char *filename, void *header, size_t hlen,
printf("\n");
errx(1, "%s: short write", filename);
}
- printf("+%d", rlen);
+ printf("+%zd", rlen);
fflush(stdout);
total += rlen;
}