diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-02 19:09:41 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-02 19:09:41 +0000 |
commit | 56d86070e7d3062406a0c85762ccbd0ad29f7914 (patch) | |
tree | f73bfbeb72b342134660ba04b75cbb96cfbc8598 /res/res_musiconhold.c | |
parent | b7e57bf3473116ae6aaf089bd370b0deeb019aaa (diff) |
fix small bug introduced while cleaning up compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153618 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index fd61cb7a8..c90c6fd11 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -941,7 +941,7 @@ static int moh_scan_files(struct mohclass *class) { ast_log(LOG_WARNING, "getcwd() failed: %s\n", strerror(errno)); return -1; } - if (chdir(path) < 0) { + if (chdir(dir_path) < 0) { ast_log(LOG_WARNING, "chdir() failed: %s\n", strerror(errno)); return -1; } |