diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-16 08:03:19 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-16 08:03:19 +0000 |
commit | 52781f2247e39e0d5a471cbe18393655948f668a (patch) | |
tree | c4228a42a42f39509c18519983347734042574ec | |
parent | 669c3c6b95281c6739b9ec98df1966449bc1e283 (diff) |
Don't use a non initialized variable and fix RCS Ids while here.
Issue reported by Maxime Villard, diff from martin@
-rw-r--r-- | sys/arch/macppc/stand/boot.mac/elf32_powerpc_merge.x | 2 | ||||
-rw-r--r-- | sys/arch/macppc/stand/boot.mac/fixcoff.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/elf32_powerpc_merge.x b/sys/arch/macppc/stand/boot.mac/elf32_powerpc_merge.x index a0f378c39a9..8da4867b675 100644 --- a/sys/arch/macppc/stand/boot.mac/elf32_powerpc_merge.x +++ b/sys/arch/macppc/stand/boot.mac/elf32_powerpc_merge.x @@ -1,4 +1,4 @@ -/* $OpenBSD: */ +/* $OpenBSD: elf32_powerpc_merge.x,v 1.2 2013/07/16 08:03:18 mpi Exp $ */ OUTPUT_ARCH(powerpc) SECTIONS { diff --git a/sys/arch/macppc/stand/boot.mac/fixcoff.c b/sys/arch/macppc/stand/boot.mac/fixcoff.c index a23163b7376..8852d921b2d 100644 --- a/sys/arch/macppc/stand/boot.mac/fixcoff.c +++ b/sys/arch/macppc/stand/boot.mac/fixcoff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: */ +/* $OpenBSD: fixcoff.c,v 1.2 2013/07/16 08:03:18 mpi Exp $ */ /* $NetBSD: fixcoff.c,v 1.10 2006/04/07 02:34:55 gdamore Exp $ */ /* @@ -143,7 +143,7 @@ main(int argc, char *argv[]) } if ((fd = open(argv[0], O_RDWR, 0)) == -1) - err(i, "%s", argv[0]); + err(1, "%s", argv[0]); /* * Make sure it looks like an xcoff file.. |