diff options
Diffstat (limited to 'sys/dev/microcode/fxp/build.c')
-rw-r--r-- | sys/dev/microcode/fxp/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/fxp/build.c b/sys/dev/microcode/fxp/build.c index 7fd5ed0bb69..80b4eb1d413 100644 --- a/sys/dev/microcode/fxp/build.c +++ b/sys/dev/microcode/fxp/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.3 2005/05/17 18:48:52 jason Exp $ */ +/* $OpenBSD: build.c,v 1.4 2016/12/18 18:28:39 krw Exp $ */ /* * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> @@ -44,7 +44,7 @@ output(const char *name, const u_int32_t *ucode, const int ucode_len) int fd, i; u_int32_t dword; - printf("creating %s length %d (microcode: %d DWORDS)\n", + printf("creating %s length %d (microcode: %zu DWORDS)\n", name, ucode_len, ucode_len / sizeof(u_int32_t)); fd = open(name, O_WRONLY|O_CREAT|O_TRUNC, 0644); if (fd == -1) |