diff options
author | Tim Roberts <timr@probo.com> | 2013-06-30 09:54:20 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-06-30 21:14:24 +0100 |
commit | 975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2 (patch) | |
tree | 097cff2cc07fa9cc97fb9fb2c02db0be9a309a49 /libusb/core.c | |
parent | 7b893cc7cee185c0bf771166ca61a05b32800556 (diff) | |
download | android_external_libusbx-975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2.tar.gz android_external_libusbx-975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2.tar.bz2 android_external_libusbx-975c4fd6255a3ef9cc52ba0c9b5f94afec0ab7d2.zip |
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.c | 2 |
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, |