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

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

Remove stray newline from err() call.

err() does this itself, and includes strerror() too.

Test: treehugger
Change-Id: I0e844f9cc3992e80a302b2f3ca1084b165582a9b
parent 720007ba
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -111,8 +111,7 @@ static int print_possible_events(int fd, int print_flags)
                break;
            bits_size = res + 16;
            bits = realloc(bits, bits_size * 2);
            if(bits == NULL)
                err(1, "failed to allocate buffer of size %d\n", (int)bits_size);
            if (bits == NULL) err(1, "failed to allocate buffer of size %zd", bits_size);
        }
        res2 = 0;
        switch(i) {