summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 19:01:51 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 19:01:51 +0000
commit6a095d5cb1bc22d35425aac5a4666242140bdb87 (patch)
tree4f69645f8ae09a3a77eeec544a7ca02700a019bf /sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
parentd8d41b4a03c62b64b16e2e4fe3dd5f26408b790c (diff)
revert bogus free changes in not kernel files. got a little trigger happy.
Diffstat (limited to 'sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c')
-rw-r--r--sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c b/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
index 30e71e88c5a..428be1693d3 100644
--- a/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
+++ b/sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setnetbootinfo.c,v 1.3 2014/07/12 18:44:41 tedu Exp $ */
+/* $OpenBSD: setnetbootinfo.c,v 1.4 2014/07/12 19:01:49 tedu Exp $ */
/* $NetBSD: setnetbootinfo.c,v 1.5 1997/04/06 08:41:37 cgd Exp $ */
/*
@@ -244,9 +244,9 @@ main(argc, argv)
printf("closing %s...\n", outfilename);
close(fd);
- free(netbb, 0);
+ free(netbb);
if (outfile == NULL)
- free(outfilename, 0);
+ free(outfilename);
exit (0);
}