From 148e3d64bcc4d49abfcdd7a9e6fbf51ffb8b69fc Mon Sep 17 00:00:00 2001 From: Kano Date: Sat, 15 Jun 2013 23:38:49 +1000 Subject: [PATCH] applog usb device list can be > LOGBUFSIZ --- usbutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbutils.c b/usbutils.c index d2d4d9fb..6710d480 100644 --- a/usbutils.c +++ b/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);