summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-01 16:06:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-01 16:06:26 +0000
commitb7d0352a6685f094fe7d8bc7787215a9090e9119 (patch)
tree9424f17c7645c5c6998a23102b9f600713c454ea
parentf5e0a0f5ed38e1f9ec48836d9bbbdd8265cb1226 (diff)
Add quotes around the name of (unconfigured) devices like we do for other
iic(4) controllers. ok jcs@
-rw-r--r--sys/dev/ic/dwiic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dwiic.c b/sys/dev/ic/dwiic.c
index 02d36e2a9f2..38431b1f7ed 100644
--- a/sys/dev/ic/dwiic.c
+++ b/sys/dev/ic/dwiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwiic.c,v 1.1 2017/11/16 18:12:27 jcs Exp $ */
+/* $OpenBSD: dwiic.c,v 1.2 2017/12/01 16:06:25 kettenis Exp $ */
/*
* Synopsys DesignWare I2C controller
*
@@ -110,7 +110,7 @@ dwiic_i2c_print(void *aux, const char *pnp)
struct i2c_attach_args *ia = aux;
if (pnp != NULL)
- printf("%s at %s", ia->ia_name, pnp);
+ printf("\"%s\" at %s", ia->ia_name, pnp);
printf(" addr 0x%x", ia->ia_addr);