diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-02 19:09:41 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-11-02 19:09:41 +0000 |
commit | 60ef8fdae86fdc24e9e1f39c3fcb5a7dff9c9471 (patch) | |
tree | f73bfbeb72b342134660ba04b75cbb96cfbc8598 | |
parent | ccdc38bb4e072eb3fde2168da0a9a3290a03683b (diff) |
fix small bug introduced while cleaning up compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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; } |