Commit Diff


commit - 492a274fd712e4589669254be327897868e44812
commit + 807869c14ee57aaa6035e6cba0df5d1369ced9ba
blob - c8d1b57df6cabd0e171e8e51531ee6b87868df98
blob + f0ffa3ef389cff98e442c2da2c9c20de1ad98dab
--- gmid.c
+++ gmid.c
@@ -133,7 +133,8 @@ load_vhosts(void)
 			if (l->dir == NULL)
 				continue;
 			if ((l->dirfd = open(l->dir, O_RDONLY | O_DIRECTORY)) == -1)
-				fatal("open %s for domain %s", l->dir, h->domain);
+				fatal("open %s for domain %s: %s", l->dir, h->domain,
+				    strerror(errno));
 		}
 	}
 }