From 6ad1225c5a24920e464f97a0fa45e9e48cfe8244 Mon Sep 17 00:00:00 2001
From: Ludovic Rousseau <ludovic.rousseau+github@gmail.com>
Date: Sun, 30 Jun 2013 09:54:20 +0200
Subject: [PATCH] Core: use fputs(3) instead of fprintf(3)

This is just a micro-optimisation and should make the code easier to
understand.
---
 libusb/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libusb/core.c b/libusb/core.c
index ec37ba1..0795597 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -2020,7 +2020,7 @@ int usbi_gettimeofday(struct timeval *tp, void *tzp)
 static void usbi_log_str(struct libusb_context *ctx, const char * str)
 {
 	UNUSED(ctx);
-	fprintf(stderr, "%s", str);
+	fputs(str, stderr);
 }
 
 void usbi_log_v(struct libusb_context *ctx, enum libusb_log_level level,
-- 
1.8.3.1

