summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/stand/a2coff/a2coff.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/aviion/stand/a2coff/a2coff.c')
-rw-r--r--sys/arch/aviion/stand/a2coff/a2coff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/stand/a2coff/a2coff.c b/sys/arch/aviion/stand/a2coff/a2coff.c
index 6a2a3095d05..aa7edeed061 100644
--- a/sys/arch/aviion/stand/a2coff/a2coff.c
+++ b/sys/arch/aviion/stand/a2coff/a2coff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: a2coff.c,v 1.12 2014/07/12 18:44:41 tedu Exp $ */
+/* $OpenBSD: a2coff.c,v 1.13 2014/07/12 19:01:49 tedu Exp $ */
/*
* Copyright (c) 2006, 2013, Miodrag Vallat
*
@@ -324,7 +324,7 @@ convert_elf(const char *infile, int infd, int outfd, Elf_Ehdr *ehdr)
last = n;
}
- free(phdr, 0);
+ free(phdr);
/*
* Fill ``data'' section.