summaryrefslogtreecommitdiffstats
path: root/rfcomm/parser.y
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-09 08:01:36 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-09 08:01:36 +0000
commit71e6fca1e290bee72853bea6ea3768879d4510a7 (patch)
tree5602c97097764967feca81b5192f4905f39a1a03 /rfcomm/parser.y
parent93f7135d5885057d17bd599a5374053f3b1020e6 (diff)
Make use of CONFIGDIR
Diffstat (limited to 'rfcomm/parser.y')
-rw-r--r--rfcomm/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfcomm/parser.y b/rfcomm/parser.y
index 58bc74c0..1d5f9024 100644
--- a/rfcomm/parser.y
+++ b/rfcomm/parser.y
@@ -161,7 +161,7 @@ int rfcomm_read_config(char *filename)
snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", getenv("HOME"));
if ((getuid() == 0) || (access(file, R_OK) < 0))
- snprintf(file, MAXPATHLEN, "/etc/bluetooth/rfcomm.conf");
+ snprintf(file, MAXPATHLEN, "%s/rfcomm.conf", CONFIGDIR);
}
if (!(yyin = fopen(file, "r")))