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

Commit 81ce79e8 authored by Gary Bisson's avatar Gary Bisson Committed by android-build-merger
Browse files

Merge "toolbox: getevent: disable stdout buffering"

am: fa14bc85

Change-Id: I89a425c4110cd8fbb2a1ea588922f018ba5212e8
parents 1c84c229 fa14bc85
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -530,6 +530,9 @@ int getevent_main(int argc, char *argv[])
    const char *device = NULL;
    const char *device_path = "/dev/input";

    /* disable buffering on stdout */
    setbuf(stdout, NULL);

    opterr = 0;
    do {
        c = getopt(argc, argv, "tns:Sv::dpilqc:rh");