Browse Source

USB -n 'known' text only without ---usb-list-all

Kano 13 years ago
parent
commit
26341bbf75
1 changed files with 2 additions and 1 deletions
  1. 2 1
      usbutils.c

+ 2 - 1
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 ");
 
 	}