diff options
Diffstat (limited to 'man3const/EXIT_SUCCESS.3const')
-rw-r--r-- | man3const/EXIT_SUCCESS.3const | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man3const/EXIT_SUCCESS.3const b/man3const/EXIT_SUCCESS.3const index fd3595f83..431f43bbb 100644 --- a/man3const/EXIT_SUCCESS.3const +++ b/man3const/EXIT_SUCCESS.3const @@ -43,7 +43,8 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - if ((fp = fopen(argv[1], "r")) == NULL) { + fp = fopen(argv[1], "r"); + if (fp == NULL) { perror(argv[1]); exit(EXIT_FAILURE); } |