0bd5090cf7
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22236 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
426 B
Diff
12 lines
426 B
Diff
--- a/channels/chan_iax2.c
|
|
+++ b/channels/chan_iax2.c
|
|
@@ -1898,7 +1898,7 @@ static int try_firmware(char *s)
|
|
last++;
|
|
else
|
|
last = s;
|
|
- snprintf(s2, strlen(s) + 100, "/var/tmp/%s-%ld", last, (unsigned long)ast_random());
|
|
+ snprintf(s2, strlen(s) + 100, "/tmp/%s-%ld", last, (unsigned long)ast_random());
|
|
res = stat(s, &stbuf);
|
|
if (res < 0) {
|
|
ast_log(LOG_WARNING, "Failed to stat '%s': %s\n", s, strerror(errno));
|