summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/iic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/iicbus/iic.c')
-rw-r--r--sys/dev/iicbus/iic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c
index 42c3ee0..a8d731e 100644
--- a/sys/dev/iicbus/iic.c
+++ b/sys/dev/iicbus/iic.c
@@ -162,7 +162,7 @@ iicclose(dev_t dev, int flags, int fmt, struct thread *td)
sc->sc_count--;
if (sc->sc_count < 0)
- panic("%s: iic_count < 0!", __FUNCTION__);
+ panic("%s: iic_count < 0!", __func__);
return (0);
}
@@ -219,7 +219,7 @@ iicread(dev_t dev, struct uio * uio, int ioflag)
return (error);
if (bufsize > uio->uio_resid)
- panic("%s: too much data read!", __FUNCTION__);
+ panic("%s: too much data read!", __func__);
iicbus_release_bus(device_get_parent(iicdev), iicdev);
OpenPOWER on IntegriCloud