summaryrefslogtreecommitdiffstats
path: root/sys/dev/microcode/udl/build.c
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2009-08-26 12:23:39 +0000
committermglocker <mglocker@openbsd.org>2009-08-26 12:23:39 +0000
commit28d90ff96034af978580b3a1fde0d9ba857097e7 (patch)
tree104d43210dab2c744328913b7e048caa485882f1 /sys/dev/microcode/udl/build.c
parentmake sure that an aiod has been removed from the nfs_aiods_idle list (diff)
downloadwireguard-openbsd-28d90ff96034af978580b3a1fde0d9ba857097e7.tar.xz
wireguard-openbsd-28d90ff96034af978580b3a1fde0d9ba857097e7.zip
Also avoid __packed struct to Huffman table in the driver side in favour
of performance. Instead generate the Huffman table with two ints. Suggested, help and OK deraadt@
Diffstat (limited to 'sys/dev/microcode/udl/build.c')
-rw-r--r--sys/dev/microcode/udl/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/udl/build.c b/sys/dev/microcode/udl/build.c
index 6e1855ccd31..d3d09146868 100644
--- a/sys/dev/microcode/udl/build.c
+++ b/sys/dev/microcode/udl/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.3 2009/08/25 21:45:26 deraadt Exp $ */
+/* $OpenBSD: build.c,v 1.4 2009/08/26 12:23:39 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -30,7 +30,7 @@ int
main(void)
{
int fd, i;
- uint8_t size;
+ uint32_t size;
uint32_t value;
fd = open(FILENAME, O_WRONLY | O_CREAT | O_TRUNC, 0644);