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

Commit 7c153476 authored by Gary Bisson's avatar Gary Bisson Committed by android-build-merger
Browse files

Merge "toolbox: getevent: disable stdout buffering" am: fa14bc85

am: 81ce79e8

Change-Id: I0c731cbedaba64cd3f40a0103e4b5608e6670baa
parents dcd6283d 81ce79e8
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");