summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-11-23 04:49:31 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-11-23 04:49:31 +0000
commit03ffb670637f8782329eb0d09b2ed6a13bc23f03 (patch)
treeb9d531ae7b464f977f43476f030f2b82655d41be /sys/dev/ic
parentaf3d8fb31933c539d97de8f015f0a8f8d784dd6c (diff)
pretty up kernel printf's
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/pdq.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/dev/ic/pdq.c b/sys/dev/ic/pdq.c
index 75f64b8a416..1e22589dbbe 100644
--- a/sys/dev/ic/pdq.c
+++ b/sys/dev/ic/pdq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdq.c,v 1.8 1998/03/01 12:45:18 niklas Exp $ */
+/* $OpenBSD: pdq.c,v 1.9 1999/11/23 04:49:29 jason Exp $ */
/* $NetBSD: pdq.c,v 1.9 1996/10/13 01:37:26 christos Exp $ */
/*-
@@ -169,17 +169,8 @@ pdq_print_fddi_chars(
{
const char hexchars[] = "0123456789abcdef";
- printf(
-#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
- PDQ_OS_PREFIX
-#else
- ": "
-#endif
- "DEC %s FDDI %s Controller\n",
-#if !defined(__bsdi__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
- PDQ_OS_PREFIX_ARGS,
-#endif
- pdq_descriptions[pdq->pdq_type],
+ printf(PDQ_OS_PREFIX "DEC %s FDDI %s Controller\n",
+ PDQ_OS_PREFIX_ARGS, pdq_descriptions[pdq->pdq_type],
pdq_station_types[rsp->status_chars_get.station_type]);
printf(PDQ_OS_PREFIX "FDDI address %c%c:%c%c:%c%c:%c%c:%c%c:%c%c, FW=%c%c%c%c, HW=%c",