Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb printf -> aprint_normal.
details: https://anonhg.NetBSD.org/src/rev/b9721ea771cf
branches: trunk
changeset: 818468:b9721ea771cf
user: nat <nat%NetBSD.org@localhost>
date: Sat Oct 15 07:10:15 2016 +0000
description:
printf -> aprint_normal.
OK christos@
diffstat:
sys/dev/usb/hid.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diffs (70 lines):
diff -r ad06200b7cb9 -r b9721ea771cf sys/dev/usb/hid.c
--- a/sys/dev/usb/hid.c Sat Oct 15 07:08:06 2016 +0000
+++ b/sys/dev/usb/hid.c Sat Oct 15 07:10:15 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hid.c,v 1.45 2016/04/27 19:35:17 jakllsch Exp $ */
+/* $NetBSD: hid.c,v 1.46 2016/10/15 07:10:15 nat Exp $ */
/* $FreeBSD: src/sys/dev/usb/hid.c,v 1.11 1999/11/17 22:33:39 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.45 2016/04/27 19:35:17 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hid.c,v 1.46 2016/10/15 07:10:15 nat Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -192,7 +192,7 @@
dval = (int32_t)dval;
break;
default:
- printf("BAD LENGTH %d\n", bSize);
+ aprint_normal("BAD LENGTH %d\n", bSize);
continue;
}
@@ -260,7 +260,7 @@
s->nu = 0;
return 1;
default:
- printf("Main bTag=%d\n", bTag);
+ aprint_normal("Main bTag=%d\n", bTag);
break;
}
break;
@@ -312,7 +312,7 @@
kmem_free(hi, sizeof(*hi));
break;
default:
- printf("Global bTag=%d\n", bTag);
+ aprint_normal("Global bTag=%d\n", bTag);
break;
}
break;
@@ -365,12 +365,12 @@
c->set_delimiter = dval;
break;
default:
- printf("Local bTag=%d\n", bTag);
+ aprint_normal("Local bTag=%d\n", bTag);
break;
}
break;
default:
- printf("default bType=%d\n", bType);
+ aprint_normal("default bType=%d\n", bType);
break;
}
}
@@ -396,7 +396,8 @@
lo = h.loc.pos;
#ifdef DIAGNOSTIC
if (lo != 0) {
- printf("hid_report_size: lo != 0\n");
+ aprint_normal("hid_report_size:"
+ " lo != 0\n");
}
#endif
}
Home |
Main Index |
Thread Index |
Old Index