Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb In umidi_attach(), adjust aprint functions match...
details: https://anonhg.NetBSD.org/src/rev/01bda2a768dd
branches: trunk
changeset: 770196:01bda2a768dd
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Oct 07 19:41:03 2011 +0000
description:
In umidi_attach(), adjust aprint functions match what uaudio(4) does,
so that '\n' is printed in the appropriate places.
diffstat:
sys/dev/usb/umidi.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 59f952a789fc -r 01bda2a768dd sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c Fri Oct 07 18:59:13 2011 +0000
+++ b/sys/dev/usb/umidi.c Fri Oct 07 19:41:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umidi.c,v 1.43 2011/05/30 13:55:27 joerg Exp $ */
+/* $NetBSD: umidi.c,v 1.44 2011/10/07 19:41:03 jakllsch Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.43 2011/05/30 13:55:27 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.44 2011/10/07 19:41:03 jakllsch Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -185,8 +185,11 @@
sc->sc_dev = self;
+ aprint_naive("\n");
+ aprint_normal("\n");
+
devinfop = usbd_devinfo_alloc(uaa->device, 0);
- aprint_normal("%s\n", devinfop);
+ aprint_normal_dev(self, "%s\n", devinfop);
usbd_devinfo_free(devinfop);
sc->sc_iface = uaa->iface;
Home |
Main Index |
Thread Index |
Old Index