commit | bbaef66b3f99213f06adf04df6b3e5e61278d75b | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Wed Sep 27 02:43:35 2000 +0000 |
committer | Matt Kraai <kraai@debian.org> | Wed Sep 27 02:43:35 2000 +0000 |
tree | 3838db4158e8e05a753fffd6e87cbbc7946425ad | |
parent | e0bcce09baff576b1b16b3ffe780b6d91c7710c2 [diff] [blame] |
Consolidate handling of some fopen failures.
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index 826c2a3..f577379 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c
@@ -330,10 +330,7 @@ } #endif - if ((fp = fopen(omfil, "w")) == NULL) { - perror(omfil); - exit(1); - } + fp = xfopen(omfil, "w"); #ifdef GIO_UNISCRNMAP if (is_old_map) { #endif