diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-12 18:48:54 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-12 18:48:54 +0000 |
commit | 9355adab6702f4798111e38a2e7e7be541270937 (patch) | |
tree | 1fda49353b276c780d60c7609e331839f2c13505 /sys/dev/microcode/myx/build.c | |
parent | 48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (diff) |
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/dev/microcode/myx/build.c')
-rw-r--r-- | sys/dev/microcode/myx/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/myx/build.c b/sys/dev/microcode/myx/build.c index 7a12c39593a..a66764250fb 100644 --- a/sys/dev/microcode/myx/build.c +++ b/sys/dev/microcode/myx/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.2 2011/07/08 03:58:27 dlg Exp $ */ +/* $OpenBSD: build.c,v 1.3 2014/07/12 18:48:18 tedu Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org> @@ -82,7 +82,7 @@ myx_build_firmware(u_int8_t *fw, size_t len, size_t ulen, const char *file) } while (total < ulen); printf("%s: len %zu -> %zu\n", file, len, ulen); - free(ufw); + free(ufw, 0); fclose(f); } |