git: 7fad3ed8e9bd - main - iicbus(4): Fix two typos in kernel error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Apr 2022 10:55:59 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=7fad3ed8e9bdba1ad81a141a47544cd0481da8b9
commit 7fad3ed8e9bdba1ad81a141a47544cd0481da8b9
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-20 10:55:44 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-20 10:55:44 +0000
iicbus(4): Fix two typos in kernel error messages
- s/occured/occurred/
MFC after:3 days
---
sys/dev/iicbus/iichid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/iicbus/iichid.c b/sys/dev/iicbus/iichid.c
index 32881c4462f0..bb8945245a2e 100644
--- a/sys/dev/iicbus/iichid.c
+++ b/sys/dev/iicbus/iichid.c
@@ -546,7 +546,7 @@ iichid_event_task(void *context, int pending)
} else
++sc->missing_samples;
} else
- DPRINTF(sc, "read error occured: %d\n", error);
+ DPRINTF(sc, "read error occurred: %d\n", error);
rearm:
if (sc->callout_setup && sc->sampling_rate_slow > 0) {
@@ -600,7 +600,7 @@ iichid_intr(void *context)
DPRINTF(sc, "no data received\n");
}
} else
- DPRINTF(sc, "read error occured: %d\n", error);
+ DPRINTF(sc, "read error occurred: %d\n", error);
iicbus_release_bus(parent, sc->dev);
}