From 049e57369190c80f36f6f39bf1724e1fecb051d6 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Mon, 27 Jul 2009 18:36:11 +0200 Subject: Use STORAGEDIR autoconf voodoo from Bluez. --- src/sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sim.c b/src/sim.c index bdc0728b..3f7727f3 100644 --- a/src/sim.c +++ b/src/sim.c @@ -312,7 +312,7 @@ static void sim_op_error(struct ofono_modem *modem) } #define SIM_CACHE_MODE 0600 -#define SIM_CACHE_PATH CONFIG_LOCALSTATEDIR "/lib/ofono/%s/%04x" +#define SIM_CACHE_PATH STORAGEDIR "/%s/%04x" #define SIM_CACHE_PATH_LEN(imsilen) (strlen(SIM_CACHE_PATH) - 2 + imsilen) #define SIM_CACHE_HEADER_SIZE 6 -- cgit v1.2.3