diff options
Diffstat (limited to 'sys/dev/microcode/bnx/build.c')
-rw-r--r-- | sys/dev/microcode/bnx/build.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/microcode/bnx/build.c b/sys/dev/microcode/bnx/build.c index 47e62305bc7..2b8a66f936f 100644 --- a/sys/dev/microcode/bnx/build.c +++ b/sys/dev/microcode/bnx/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.6 2014/07/12 18:48:18 tedu Exp $ */ +/* $OpenBSD: build.c,v 1.7 2014/07/12 19:01:49 tedu Exp $ */ /* * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> @@ -297,7 +297,7 @@ main(int argc, char *argv[]) write_firmware(FILENAME_B09, bf, sizeof(*bf), chunks_b09, nitems(chunks_b09)); - free(bf, 0); + free(bf); rh = (struct bnx_rv2p_header *)malloc(sizeof *rh); @@ -328,7 +328,7 @@ main(int argc, char *argv[]) write_firmware(FILENAME_XI90_RV2P, rh, sizeof(*rh), chunks_xi90_rv2p, nitems(chunks_xi90_rv2p)); - free(rh, 0); + free(rh); return 0; } |