diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-02-14 23:05:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-02-14 23:05:29 +0000 |
commit | 457143c2d56c48d89d41b8590cdf49d7cec378fd (patch) | |
tree | 5626b09726f94a3d71526468550a9f15f7a3ad8e /sys | |
parent | 247e7e9f046482abd2dec7fe728c5f27ce038d0a (diff) |
Put quotation marks around the names of unconfigured devices.
ok drahn@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/dev/macgpio.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/pci/macobio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/macgpio.c b/sys/arch/macppc/dev/macgpio.c index e7319d24ccf..09c6cb08e81 100644 --- a/sys/arch/macppc/dev/macgpio.c +++ b/sys/arch/macppc/dev/macgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macgpio.c,v 1.3 2005/11/17 00:24:55 deraadt Exp $ */ +/* $OpenBSD: macgpio.c,v 1.4 2006/02/14 23:05:28 kettenis Exp $ */ /* $NetBSD: gpio.c,v 1.2 2001/02/27 05:16:33 matt Exp $ */ /*- @@ -131,7 +131,7 @@ macgpio_print(void *aux, const char *gpio) { struct confargs *ca = aux; if (gpio) - printf("%s at %s", ca->ca_name, gpio); + printf("\"%s\" at %s", ca->ca_name, gpio); if (ca->ca_nreg > 0) printf(" offset 0x%x", ca->ca_reg[0]); diff --git a/sys/arch/macppc/pci/macobio.c b/sys/arch/macppc/pci/macobio.c index 40fddb3eeb5..6d7c6b56ff1 100644 --- a/sys/arch/macppc/pci/macobio.c +++ b/sys/arch/macppc/pci/macobio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macobio.c,v 1.15 2005/11/17 00:24:55 deraadt Exp $ */ +/* $OpenBSD: macobio.c,v 1.16 2006/02/14 23:05:28 kettenis Exp $ */ /* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */ /*- @@ -219,7 +219,7 @@ macobio_print(void *aux, const char *macobio) struct confargs *ca = aux; if (macobio) - printf("%s at %s", ca->ca_name, macobio); + printf("\"%s\" at %s", ca->ca_name, macobio); if (ca->ca_nreg > 0) printf(" offset 0x%x", ca->ca_reg[0]); |