diff options
author | 2006-02-14 23:05:28 +0000 | |
---|---|---|
committer | 2006-02-14 23:05:28 +0000 | |
commit | f93ad0cb9b2c8dd74eacacf32bf612f38ff361a2 (patch) | |
tree | e40e99afd31b4dea384437202dd45f8954981d69 | |
parent | Knock out "deq" and "tas3004" i2c nodes. (diff) | |
download | wireguard-openbsd-f93ad0cb9b2c8dd74eacacf32bf612f38ff361a2.tar.xz wireguard-openbsd-f93ad0cb9b2c8dd74eacacf32bf612f38ff361a2.zip |
Put quotation marks around the names of unconfigured devices.
ok drahn@
-rw-r--r-- | sys/arch/macppc/dev/macgpio.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/uni_n.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/pci/macobio.c | 4 |
3 files changed, 6 insertions, 6 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/dev/uni_n.c b/sys/arch/macppc/dev/uni_n.c index 06e5a165c35..da4de585b9f 100644 --- a/sys/arch/macppc/dev/uni_n.c +++ b/sys/arch/macppc/dev/uni_n.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uni_n.c,v 1.13 2005/11/13 21:49:15 drahn Exp $ */ +/* $OpenBSD: uni_n.c,v 1.14 2006/02/14 23:06:41 kettenis Exp $ */ /* * Copyright (c) 1998-2001 Dale Rahn. @@ -133,7 +133,7 @@ memc_print(void *aux, const char *name) struct confargs *ca = aux; /* we dont want extra stuff printing */ if (name) - printf("%s at %s", ca->ca_name, name); + printf("\"%s\" at %s", ca->ca_name, name); if (ca->ca_nreg > 0) printf(" offset 0x%x", ca->ca_reg[0]); return UNCONF; 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]); |