summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrzej Zaborowski <balrog@zabor.org>2009-07-27 18:36:11 +0200
committerDenis Kenzior <denkenz@gmail.com>2009-07-29 17:22:12 -0500
commit049e57369190c80f36f6f39bf1724e1fecb051d6 (patch)
tree233ccb77c6e55712bb63efd3b2bef2e049bcdb28 /src
parent3e6d4237cba86db4f33ec1ea215e3fdc75ed6993 (diff)
downloadofono-049e57369190c80f36f6f39bf1724e1fecb051d6.tar.bz2
Use STORAGEDIR autoconf voodoo from Bluez.
Diffstat (limited to 'src')
-rw-r--r--src/sim.c2
1 files changed, 1 insertions, 1 deletions
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