diff options
author | 2013-07-16 08:03:18 +0000 | |
---|---|---|
committer | 2013-07-16 08:03:18 +0000 | |
commit | aad6f798b8256cda00dc2d6ed3fec4e3d524bc00 (patch) | |
tree | e15735cd00317ce161c6a96d290daaaa6b8b7409 | |
parent | non[ -]existing -> non-existent; (diff) | |
download | wireguard-openbsd-aad6f798b8256cda00dc2d6ed3fec4e3d524bc00.tar.xz wireguard-openbsd-aad6f798b8256cda00dc2d6ed3fec4e3d524bc00.zip |
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.. |