summaryrefslogtreecommitdiff
path: root/libusb/core.c
diff options
context:
space:
mode:
authorTim Roberts <timr@probo.com>2013-06-30 09:54:20 +0200
committerPete Batard <pete@akeo.ie>2013-06-30 21:14:24 +0100
commit975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2 (patch)
tree097cff2cc07fa9cc97fb9fb2c02db0be9a309a49 /libusb/core.c
parent7b893cc7cee185c0bf771166ca61a05b32800556 (diff)
downloadlibusb-975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2.tar.gz
Core: Use fputs(3) instead of fprintf(3)
This is a micro-optimisation, but it should make the code easier to understand.
Diffstat (limited to 'libusb/core.c')
-rw-r--r--libusb/core.c2
1 files changed, 1 insertions, 1 deletions
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,