diff options
author | 2009-08-26 12:23:39 +0000 | |
---|---|---|
committer | 2009-08-26 12:23:39 +0000 | |
commit | 28d90ff96034af978580b3a1fde0d9ba857097e7 (patch) | |
tree | 104d43210dab2c744328913b7e048caa485882f1 /sys/dev/microcode/udl/build.c | |
parent | make sure that an aiod has been removed from the nfs_aiods_idle list (diff) | |
download | wireguard-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.c | 4 |
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); |