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

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

Ignore-this: 52bb4a4a00c3c76658f72db9b021b8b2

darcs-hash:20090303165634-db55f-f25e6f3bd515ea397206ae261aabf1d7859ece6b.gz
parent 5bfabd9b
......@@ -2504,10 +2504,11 @@ int main(int argc, char *argv[])
#endif
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);
(void)cr;
}
#if HAVE_ALARM
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