From: kettenis Date: Fri, 1 Dec 2017 16:06:25 +0000 (+0000) Subject: Add quotes around the name of (unconfigured) devices like we do for other X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3eb71d7d88e6197a6a5caace3a5663436beba3eb;p=openbsd Add quotes around the name of (unconfigured) devices like we do for other iic(4) controllers. ok jcs@ --- 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);