Commit a0bebc15 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_soa.c: ignore fgets() return value. really.

Ignore-this: 52bb4a4a00c3c76658f72db9b021b8b2

parent 5bfabd9b
......@@ -2504,10 +2504,11 @@ int main(int argc, char *argv[])
if (o_attach) {
char line[10];
char line[10], *cr;
printf("%s: pid %u\n", name, getpid());
printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin);
cr = fgets(line, sizeof line, stdin);
else if (o_alarm) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment