summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net/if_cdce.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
committerthompsa <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
commit6745662f291e4a2ec843786b1a2278ae3c3ae675 (patch)
tree75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/net/if_cdce.c
parent62d1f26939126690c2bc23bbab214c4976da2647 (diff)
downloadFreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.zip
FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.tar.gz
Remove overuse of exclamation marks in kernel printfs, there mere fact a
message has been printed is enough to get someones attention. Also remove the line number for DPRINTF/DPRINTFN, it already prints the funtion name and a unique message.
Diffstat (limited to 'sys/dev/usb/net/if_cdce.c')
-rw-r--r--sys/dev/usb/net/if_cdce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c
index cb33249..e950517 100644
--- a/sys/dev/usb/net/if_cdce.c
+++ b/sys/dev/usb/net/if_cdce.c
@@ -489,7 +489,7 @@ cdce_attach(device_t dev)
break;
}
} else {
- device_printf(dev, "no data interface found!\n");
+ device_printf(dev, "no data interface found\n");
goto detach;
}
}
@@ -541,7 +541,7 @@ alloc_transfers:
if (error || (i == 32)) {
device_printf(dev, "No valid alternate "
- "setting found!\n");
+ "setting found\n");
goto detach;
}
OpenPOWER on IntegriCloud