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

Commit dcc98da0 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Move libutils from fdprintf to POSIX dprintf.

Bug: 11156955
Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
parent 30291f21
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -25,10 +25,6 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>


#ifndef __BIONIC__
#define fdprintf dprintf
#endif

namespace android {
namespace android {


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


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