Commit 693d46ee authored by Pekka Pessi's avatar Pekka Pessi

test_nua.c: silenced a warning about fgets()

darcs-hash:20061214215820-65a35-f03146e68dc60594a3fefa4a6dd70cafe422a500.gz
parent 27114fc3
......@@ -215,10 +215,10 @@ int main(int argc, char *argv[])
}
if (o_attach) {
char line[10];
char line[10], *l;
printf("%s: pid %lu\n", name, (unsigned long)getpid());
printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin);
l = fgets(line, sizeof line, stdin);
}
#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