diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-08-25 18:19:36 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-08-25 18:19:36 +0000 |
commit | 12e4c02a72004ec6874ecc07b14ac026857a327e (patch) | |
tree | 4567693b2f142339906ea3ecb1eb54df3a8cceaf /sys/arch | |
parent | 93449b127ed33fd276778c80dfebc3ddcf2203b7 (diff) |
Minor tweaks to make things work in install.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/stand/boot/arcbios.c | 3 | ||||
-rw-r--r-- | sys/arch/sgi/stand/sgivol/Makefile | 3 | ||||
-rw-r--r-- | sys/arch/sgi/stand/sgivol/sgivol.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sgi/stand/boot/arcbios.c b/sys/arch/sgi/stand/boot/arcbios.c index d99592a6bc5..c4c4effde3e 100644 --- a/sys/arch/sgi/stand/boot/arcbios.c +++ b/sys/arch/sgi/stand/boot/arcbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arcbios.c,v 1.1 2004/08/23 14:22:40 pefo Exp $ */ +/* $OpenBSD: arcbios.c,v 1.2 2004/08/25 18:19:35 pefo Exp $ */ /*- * Copyright (c) 1996 M. Warner Losh. All rights reserved. * Copyright (c) 1996-2004 Opsycon AB. All rights reserved. @@ -267,7 +267,6 @@ devopen(struct open_file *f, const char *fname, char **file) /* * Dig out the driver. */ -printf("looking: %s, %s, %d\n", devname, namebuf, partition); dp = devsw; n = ndevs; while(n--) { diff --git a/sys/arch/sgi/stand/sgivol/Makefile b/sys/arch/sgi/stand/sgivol/Makefile index fc0f5cc4d8f..05afcd34060 100644 --- a/sys/arch/sgi/stand/sgivol/Makefile +++ b/sys/arch/sgi/stand/sgivol/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.1 2004/08/23 14:22:40 pefo Exp $ +# $OpenBSD: Makefile,v 1.2 2004/08/25 18:19:35 pefo Exp $ # $NetBSD: Makefile,v 1.5 2002/12/13 02:36:37 lukem Exp $ NOMAN= # defined PROG= sgivol LDADD+= -lutil +LDSTATIC=-static .include <bsd.prog.mk> diff --git a/sys/arch/sgi/stand/sgivol/sgivol.c b/sys/arch/sgi/stand/sgivol/sgivol.c index b2e51b1062b..4d4604741c0 100644 --- a/sys/arch/sgi/stand/sgivol/sgivol.c +++ b/sys/arch/sgi/stand/sgivol/sgivol.c @@ -274,7 +274,7 @@ main(int argc, char *argv[]) if (betoh32(volhdr->magic) != SGILABEL_MAGIC) { printf("No Volume Header found, magic=%x. Use -i first.\n", betoh32(volhdr->magic)); - exit(1); + exit(2); } if (opt_r) { read_file(); |