From 71e6fca1e290bee72853bea6ea3768879d4510a7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 9 Aug 2004 08:01:36 +0000 Subject: Make use of CONFIGDIR --- rfcomm/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rfcomm') 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"))) -- cgit