git: 42dfad2ef127 - main - ti(4): Fix a typo in an error message

Gordon Bergling gbe at FreeBSD.org
Sat Oct 2 08:52:06 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=42dfad2ef12755d27e0e34656a2624f0dac2c502

commit 42dfad2ef12755d27e0e34656a2624f0dac2c502
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-10-02 08:51:29 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-10-02 08:51:29 +0000

    ti(4): Fix a typo in an error message
    
    - s/chanels/channels/
    
    MFC after:      1 week
---
 sys/arm/ti/ti_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/ti/ti_adc.c b/sys/arm/ti/ti_adc.c
index a0091aebf417..766729fcdab3 100644
--- a/sys/arm/ti/ti_adc.c
+++ b/sys/arm/ti/ti_adc.c
@@ -809,7 +809,7 @@ ti_adc_attach(device_t dev)
 
 	/* Sanity check FDT data */
 	if (sc->sc_tsc_wires + sc->sc_adc_nchannels > TI_ADC_NPINS) {
-		device_printf(dev, "total number of chanels (%d) is larger than %d\n",
+		device_printf(dev, "total number of channels (%d) is larger than %d\n",
 		    sc->sc_tsc_wires + sc->sc_adc_nchannels, TI_ADC_NPINS);
 		return (ENXIO);
 	}


More information about the dev-commits-src-main mailing list