Merge "Remove stray newline from err() call." into main
This commit is contained in:
commit
f00639393a
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue