Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd3897d0 authored by Calin Juravle's avatar Calin Juravle Committed by Gerrit Code Review
Browse files

Merge "Move libutils from fdprintf to POSIX dprintf."

parents 30291f21 dcc98da0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -25,10 +25,6 @@
#include <stdio.h>
#include <stdlib.h>

#ifndef __BIONIC__
#define fdprintf dprintf
#endif

namespace android {

/*
@@ -120,7 +116,7 @@ void FdPrinter::printLine(const char* string) {
    }

#ifndef USE_MINGW
    fdprintf(mFd, mFormatString, mPrefix, string);
    dprintf(mFd, mFormatString, mPrefix, string);
#endif
}