diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-05-05 04:33:57 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-05-05 04:33:57 +0000 |
commit | 90fba9dca9ebfbf4d14a9899b00949b5b2c0ea69 (patch) | |
tree | cd4dfdef0f6a88f2d42941d2c72b06621dbd962b /sys/arch | |
parent | e54ae067570f08fc6d11d359e04221bfd8088ffb (diff) |
errx shall be used here
Diffstat (limited to 'sys/arch')
-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) |