git: 66fb0f33ff95 - stable/13 - iicbus(4): Fix two typos in kernel error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Apr 2022 06:56:24 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=66fb0f33ff95292bb4cae6af8cdd613df8df3772
commit 66fb0f33ff95292bb4cae6af8cdd613df8df3772
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-20 10:55:44 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-23 06:55:22 +0000
iicbus(4): Fix two typos in kernel error messages
- s/occured/occurred/
(cherry picked from commit 7fad3ed8e9bdba1ad81a141a47544cd0481da8b9)
---
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 a36ed9bb8538..19cda3802c69 100644
--- a/sys/dev/iicbus/iichid.c
+++ b/sys/dev/iicbus/iichid.c
@@ -535,7 +535,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) {
@@ -589,7 +589,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);
}