Minor edits to Eexample program.

This commit is contained in:
Michael Kerrisk 2007-12-25 16:24:14 +00:00
parent e77234bbf7
commit cf634cefa0
1 changed files with 4 additions and 3 deletions

View File

@ -104,10 +104,11 @@ main(void)
i = atexit(bye);
if (i != 0) {
fprintf(stderr, "cannot set exit function\en");
return EXIT_FAILURE;
fprintf(stderr, "cannot set exit function\en");
exit(EXIT_FAILURE);
}
return EXIT_SUCCESS;
exit(EXIT_SUCCESS);
}
.fi
.SH "SEE ALSO"