ref: aea1990de311307ed0a05a68b5ba37c5d07c0b8e
parent: 5302f36d38bb75ac624c72986c36e4a20e49ec8e
author: bentley <[email protected]>
date: Mon Jan 18 11:29:48 EST 2010
rgbfix: minor correction to last error message commit
--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -615,9 +615,8 @@
}
fclose(f);
} else {
- fprintf(stderr, "Could not open file '%s' : %s\n", filename,
+ errx(EX_NOINPUT, "Could not open file '%s' : %s", filename,
strerror(errno));
- exit(EX_NOINPUT);
}
return (0);