summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/cirruslogic/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/microcode/cirruslogic/build.c')
-rw-r--r--sys/dev/microcode/cirruslogic/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/cirruslogic/build.c b/sys/dev/microcode/cirruslogic/build.c
index 724b47e8fe1..bd956ca412d 100644
--- a/sys/dev/microcode/cirruslogic/build.c
+++ b/sys/dev/microcode/cirruslogic/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.2 2005/05/17 18:48:52 jason Exp $ */
+/* $OpenBSD: build.c,v 1.3 2016/12/18 18:28:39 krw Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -30,7 +30,7 @@ main(int argc, char *argv[])
ssize_t rlen;
int fd;
- printf("creating %s length %d\n", FILENAME, sizeof BA1Struct);
+ printf("creating %s length %zu\n", FILENAME, sizeof BA1Struct);
fd = open(FILENAME, O_WRONLY|O_CREAT|O_TRUNC, 0644);
if (fd == -1)
err(1, "%s", FILENAME);