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

Commit 72f51179 authored by Calin Juravle's avatar Calin Juravle Committed by Android Git Automerger
Browse files

am cd3897d0: Merge "Move libutils from fdprintf to POSIX dprintf."

* commit 'cd3897d0':
  Move libutils from fdprintf to POSIX dprintf.
parents 7f8ebb81 cd3897d0
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
}