commit - d89a9060f812301850ae4c3f975d475e31fba0a7
commit + 48b69cb2dcb0e50409c531d9052c2da134a82eff
blob - 710067347fa1aeb0c8d66d39101c605712e7b80f
blob + 7e221f5fa728a7c2cd11fc7a07ca7bc8d6903b11
--- gmid.c
+++ gmid.c
}
if (config_path != NULL && (argc > 0 || configless))
- err(1, "can't specify options in config mode.");
+ errx(1, "can't specify options in config mode.");
if (conftest) {
parse_conf(config_path);
blob - df62e818a863060518cbedc4ddf7489bfdac2ff9
blob + cc9c99868be28cf14097905ff591a7635922a607
--- parse.y
+++ parse.y
{
config_path = path;
if ((yyin = fopen(path, "r")) == NULL)
- fatal("cannot open config: %s: %s", path, strerror(errno));
+ err(1, "cannot open config: %s", path);
yyparse();
fclose(yyin);
exit(1);
if (TAILQ_FIRST(&hosts)->domain == NULL)
- fatal("no vhost defined in %s", path);
+ errx(1, "no vhost defined in %s", path);
}
char *