Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii Cosmetic change for the output of mii_get_descr().



details:   https://anonhg.NetBSD.org/src/rev/17233c46ea52
branches:  trunk
changeset: 1027667:17233c46ea52
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Dec 15 08:28:22 2021 +0000

description:
Cosmetic change for the output of mii_get_descr().

diffstat:

 sys/dev/mii/mii_physubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 387057c1cc38 -r 17233c46ea52 sys/dev/mii/mii_physubr.c
--- a/sys/dev/mii/mii_physubr.c Wed Dec 15 07:47:22 2021 +0000
+++ b/sys/dev/mii/mii_physubr.c Wed Dec 15 08:28:22 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mii_physubr.c,v 1.95 2021/06/29 21:03:36 pgoyette Exp $        */
+/*     $NetBSD: mii_physubr.c,v 1.96 2021/12/15 08:28:22 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.95 2021/06/29 21:03:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.96 2021/12/15 08:28:22 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -79,7 +79,7 @@
                strlcat(descr, temp, len);
                return descr;
        }
-       snprintf(descr, len, "oui 0x%6x model 0x%04x", oui, model);
+       snprintf(descr, len, "OUI 0x%06x model 0x%04x", oui, model);
        return NULL;
 }
 



Home | Main Index | Thread Index | Old Index