git: 6a7aa5530c0d - main - if_ffec: fix MAC address bootverbose print
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Oct 2024 03:27:56 UTC
The branch main has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=6a7aa5530c0d860c98c982968ac27728daaac7aa
commit 6a7aa5530c0d860c98c982968ac27728daaac7aa
Author: Gary Bisson <gary.bisson@ezurio.com>
AuthorDate: 2024-10-17 10:02:48 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-10-28 03:27:18 +0000
if_ffec: fix MAC address bootverbose print
Remove extraneous colon at the end.
MFC after: 3 days
Pull Request: https://github.com/freebsd/freebsd-src/pull/1479
Signed-off-by: Gary Bisson <gary.bisson@ezurio.com>
---
sys/dev/ffec/if_ffec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/ffec/if_ffec.c b/sys/dev/ffec/if_ffec.c
index 1a562b149f61..17fab283fc81 100644
--- a/sys/dev/ffec/if_ffec.c
+++ b/sys/dev/ffec/if_ffec.c
@@ -968,7 +968,7 @@ ffec_get_hwaddr(struct ffec_softc *sc, uint8_t *hwaddr)
if (bootverbose) {
device_printf(sc->dev,
- "MAC address %02x:%02x:%02x:%02x:%02x:%02x:\n",
+ "MAC address %02x:%02x:%02x:%02x:%02x:%02x\n",
hwaddr[0], hwaddr[1], hwaddr[2],
hwaddr[3], hwaddr[4], hwaddr[5]);
}