summaryrefslogtreecommitdiff
path: root/drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv.c')
-rw-r--r--drv.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drv.c b/drv.c
index a2eef82..e3a71cb 100644
--- a/drv.c
+++ b/drv.c
@@ -753,13 +753,8 @@ void drv_log_prefix(enum drv_log_level level, const char *prefix, const char *fi
};
__android_log_vprint(prio, buf, format, args);
#else
- if (level == DRV_LOGE) {
- fprintf(stderr, "%s ", buf);
- vfprintf(stderr, format, args);
- } else {
- fprintf(stdout, "%s ", buf);
- vfprintf(stdout, format, args);
- }
+ fprintf(stderr, "%s ", buf);
+ vfprintf(stderr, format, args);
#endif
va_end(args);
}