Browse Source

applog usb device list can be > LOGBUFSIZ

Kano 12 years ago
parent
commit
148e3d64bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      usbutils.c

+ 1 - 1
usbutils.c

@@ -924,7 +924,7 @@ void usb_all(int level)
 		for (i = 0; i < count; i++)
 			usb_full(&j, list[i], &buf, &off, &len, level);
 
-		applog(LOG_WARNING, "%s", buf);
+		_applog(LOG_WARNING, buf);
 
 		free(buf);