$OpenBSD: patch-rmt_rmt_c,v 1.2 2002/05/30 23:27:48 naddy Exp $
--- rmt/rmt.c.orig	Tue May 21 12:29:57 2002
+++ rmt/rmt.c	Fri May 24 17:20:58 2002
@@ -145,9 +145,9 @@ main(argc, argv)
 	 * don't contribute work and don't give support, they are causing extra
 	 * work for me and this way slow down the development.
 	 */
-	if (defltopen("/etc/default/rmt") < 0) {
+	if (defltopen(SYSCONFDIR "/srmt.conf") < 0) {
 		if (geteuid() == 0) {
-			rmterror("Remote configuration error: Cannot open /etc/default/rmt");
+			rmterror("Remote configuration error: Cannot open " SYSCONFDIR "/srmt.conf");
 			exit(EX_BAD);
 		}
 	} else {
