diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sgi/localbus/macebus.c | 5 | ||||
-rw-r--r-- | sys/arch/sgi/pci/macepcibridge.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sgi/localbus/macebus.c b/sys/arch/sgi/localbus/macebus.c index 6b4bf821d52..ac6ebc49fd0 100644 --- a/sys/arch/sgi/localbus/macebus.c +++ b/sys/arch/sgi/localbus/macebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macebus.c,v 1.16 2006/01/04 20:18:37 miod Exp $ */ +/* $OpenBSD: macebus.c,v 1.17 2006/01/04 20:20:16 miod Exp $ */ /* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) @@ -380,7 +380,8 @@ mace_space_map(bus_space_tag_t t, bus_addr_t offs, bus_size_t size, printf("bus_space_map: can't free region\n"); } } - return 0; + + return (error); } void diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c index 528eb5a8177..3a946cca843 100644 --- a/sys/arch/sgi/pci/macepcibridge.c +++ b/sys/arch/sgi/pci/macepcibridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macepcibridge.c,v 1.7 2005/01/31 21:35:50 grange Exp $ */ +/* $OpenBSD: macepcibridge.c,v 1.8 2006/01/04 20:20:18 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se) @@ -524,7 +524,8 @@ mace_pcib_space_map(bus_space_tag_t t, bus_addr_t offs, bus_size_t size, printf("bus_space_map: can't free region\n"); } } - return 0; + + return (error); } void |