diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-23 19:13:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-23 19:13:35 +0000 |
commit | c8ceb9c9c5712a970aa70192c7800fc9e1e39aed (patch) | |
tree | a192f508bbf212d4b1fa470f6becd6f6dc96012e /pbx/pbx_config.c | |
parent | cdb0b6b8a3d95a44fe6af3a51cc038f14a822a1a (diff) |
More OpenBSD patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@890 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_config.c')
-rwxr-xr-x | pbx/pbx_config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 7e8c11c9c..45359fcdd 100755 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -689,10 +689,10 @@ static int handle_context_add_include(int fd, int argc, char *argv[]) ast_cli(fd, "Context '%s' already included in '%s' context\n", argv[1], argv[3]); break; - case ENODATA: + case ENOENT: case EINVAL: ast_cli(fd, "There is no existence of context '%s'\n", - errno == ENODATA ? argv[3] : argv[1]); break; + errno == ENOENT ? argv[3] : argv[1]); break; default: ast_cli(fd, "Failed to include '%s' in '%s' context\n", @@ -1115,7 +1115,7 @@ static int handle_context_add_extension(int fd, int argc, char *argv[]) case EBUSY: ast_cli(fd, "Failed to lock context(s) list, please try again later\n"); break; - case ENODATA: + case ENOENT: ast_cli(fd, "No existence of '%s' context\n", argv[4]); break; case EEXIST: @@ -1197,7 +1197,7 @@ static int handle_context_add_ignorepat(int fd, int argc, char *argv[]) case ENOMEM: ast_cli(fd, "Out of free memory\n"); break; - case ENODATA: + case ENOENT: ast_cli(fd, "There is no existence of '%s' context\n", argv[4]); break; @@ -1294,7 +1294,7 @@ static int handle_context_remove_ignorepat(int fd, int argc, char *argv[]) ast_cli(fd, "Failed to lock context(s) list, please try again later\n"); break; - case ENODATA: + case ENOENT: ast_cli(fd, "There is no existence of '%s' context\n", argv[4]); break; |