From 26341bbf755bb20befc39173669754bad1a2c6a9 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 15 Mar 2013 00:30:48 +1100 Subject: [PATCH] USB -n 'known' text only without ---usb-list-all --- usbutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usbutils.c b/usbutils.c index 4d141591..151d3cd0 100644 --- a/usbutils.c +++ b/usbutils.c @@ -609,7 +609,8 @@ void usb_all(int level) if (j == -1) applog(LOG_WARNING, "No known USB devices"); else - applog(LOG_WARNING, "%d known USB devices", (int)(++j)); + applog(LOG_WARNING, "%d %sUSB devices", + (int)(++j), opt_usb_list_all ? BLANK : "known "); }