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/yds/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/yds/build.c')
-rw-r--r-- | sys/dev/microcode/yds/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/yds/build.c b/sys/dev/microcode/yds/build.c index 1dfd81ffcf0..392a250803e 100644 --- a/sys/dev/microcode/yds/build.c +++ b/sys/dev/microcode/yds/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.4 2007/01/06 02:48:42 deraadt Exp $ */ +/* $OpenBSD: build.c,v 1.5 2014/07/12 18:48:18 tedu Exp $ */ /* * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> @@ -81,7 +81,7 @@ main(int argc, char *argv[]) err(1, "%s", FILENAME); if (rlen != len) errx(1, "%s: short write", FILENAME); - free(yf); + free(yf, 0); close(fd); return 0; } |