diff --git a/src/syncterm/syncterm.c b/src/syncterm/syncterm.c
index e956a3bf15be62ad221b602b086659135a1dd99d..74e0d75d9eab97370eaf88f288484aa538c2def1 100644
--- a/src/syncterm/syncterm.c
+++ b/src/syncterm/syncterm.c
@@ -254,6 +254,7 @@ char *get_syncterm_filename(char *fn, int fnlen, int type, int shared)
 #ifdef PREFIX
 		strcpy(fn,PREFIX);
 		backslash(fn);
+		strcat(fn,"etc/");
 #else
 		strcpy(fn,"/usr/local/etc/");
 #endif