stdio-bridge: slightly optimize formatting of structure

This commit is contained in:
Lennart Poettering 2019-03-19 13:04:21 +01:00
parent 451e16e0cb
commit d1ded478ee
1 changed files with 4 additions and 3 deletions

View File

@ -240,9 +240,10 @@ static int run(int argc, char *argv[]) {
{
struct pollfd p[3] = {
{.fd = fd, .events = events_a, },
{.fd = STDIN_FILENO, .events = events_b & POLLIN, },
{.fd = STDOUT_FILENO, .events = events_b & POLLOUT, }};
{.fd = fd, .events = events_a },
{.fd = STDIN_FILENO, .events = events_b & POLLIN },
{.fd = STDOUT_FILENO, .events = events_b & POLLOUT },
};
r = ppoll(p, ELEMENTSOF(p), ts, NULL);
}