Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb normalise an error message.



details:   https://anonhg.NetBSD.org/src/rev/c2f0c8c8fad8
branches:  trunk
changeset: 965258:c2f0c8c8fad8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 08 19:00:33 2019 +0000

description:
normalise an error message.

diffstat:

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

diffs (27 lines):

diff -r 2128da6eae1f -r c2f0c8c8fad8 sys/dev/usb/usbnet.c
--- a/sys/dev/usb/usbnet.c      Sun Sep 08 18:59:32 2019 +0000
+++ b/sys/dev/usb/usbnet.c      Sun Sep 08 19:00:33 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbnet.c,v 1.26 2019/09/08 18:59:32 mrg Exp $  */
+/*     $NetBSD: usbnet.c,v 1.27 2019/09/08 19:00:33 mrg Exp $  */
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.26 2019/09/08 18:59:32 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbnet.c,v 1.27 2019/09/08 19:00:33 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -1451,7 +1451,7 @@
        /* Attach the interface. */
        int rv = if_initialize(ifp);
        if (rv != 0) {
-               aprint_error_dev(un->un_dev, "if_initialize failed(%d)\n", rv);
+               aprint_error_dev(un->un_dev, "if_initialize failed: %d\n", rv);
                return;
        }
        if (ifp->_if_input == NULL)



Home | Main Index | Thread Index | Old Index