diff options
author | 2004-05-05 04:33:56 +0000 | |
---|---|---|
committer | 2004-05-05 04:33:56 +0000 | |
commit | d97bee7a391b38ae5a6109f69ea315ba2099564b (patch) | |
tree | e0b302a9ac0ec4b8609e17cf8cc78d2fbf0593b9 | |
parent | regen (diff) | |
download | wireguard-openbsd-d97bee7a391b38ae5a6109f69ea315ba2099564b.tar.xz wireguard-openbsd-d97bee7a391b38ae5a6109f69ea315ba2099564b.zip |
errx shall be used here
-rw-r--r-- | sys/arch/amd64/stand/installboot/installboot.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/installboot/installboot.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/installboot/installboot.c b/sys/arch/amd64/stand/installboot/installboot.c index a0c1bcace98..6063a5f5852 100644 --- a/sys/arch/amd64/stand/installboot/installboot.c +++ b/sys/arch/amd64/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.3 2004/02/22 09:03:05 tom Exp $ */ +/* $OpenBSD: installboot.c,v 1.4 2004/05/05 04:33:56 mickey Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -174,7 +174,7 @@ main(int argc, char *argv[]) /* XXX - Paranoia: Make sure size is aligned! */ if (protosize & (DEV_BSIZE - 1)) - err(1, "proto %s bad size=%ld", proto, protosize); + errx(1, "proto %s bad size=%ld", proto, protosize); /* Write patched proto bootblock(s) into the superblock. */ if (protosize > SBSIZE - DEV_BSIZE) diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c index e7506cb18c6..58b1a244f46 100644 --- a/sys/arch/i386/stand/installboot/installboot.c +++ b/sys/arch/i386/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.45 2004/02/22 09:03:05 tom Exp $ */ +/* $OpenBSD: installboot.c,v 1.46 2004/05/05 04:33:56 mickey Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -170,7 +170,7 @@ main(int argc, char *argv[]) /* XXX - Paranoia: Make sure size is aligned! */ if (protosize & (DEV_BSIZE - 1)) - err(1, "proto %s bad size=%ld", proto, protosize); + errx(1, "proto %s bad size=%ld", proto, protosize); /* Write patched proto bootblock(s) into the superblock. */ if (protosize > SBSIZE - DEV_BSIZE) |