From 3eb71d7d88e6197a6a5caace3a5663436beba3eb Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 1 Dec 2017 16:06:25 +0000 Subject: [PATCH] Add quotes around the name of (unconfigured) devices like we do for other iic(4) controllers. ok jcs@ --- sys/dev/ic/dwiic.c | 4 ++-- 1 file 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); -- 2.20.1