aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ices.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-03 01:59:27 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-03 01:59:27 +0000
commit2790a8dc3ea6fc85a4dce6132ebd10d78d020c1e (patch)
tree5ee0cd4838aa46eac11e1ed819580d3b4ed9b29b /apps/app_ices.c
parentba67b872f3bdf3c36849b0900a1e7cf8ab2c4bbe (diff)
Compatibility fix for OpenBSD
Report and fix by: mvanbaak (Closes issue #11669) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96147 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_ices.c')
-rw-r--r--apps/app_ices.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 88d118f08..b2a4e9b91 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -86,11 +86,11 @@ static int icesencode(char *filename, int fd)
close(x);
}
/* Most commonly installed in /usr/local/bin */
- execl(ICES, "ices", filename, NULL);
+ execl(ICES, "ices", filename, (char *)NULL);
/* But many places has it in /usr/bin */
- execl(LOCAL_ICES, "ices", filename, NULL);
+ execl(LOCAL_ICES, "ices", filename, (char *)NULL);
/* As a last-ditch effort, try to use PATH */
- execlp("ices", "ices", filename, NULL);
+ execlp("ices", "ices", filename, (char *)NULL);
ast_log(LOG_WARNING, "Execute of ices failed\n");
_exit(0);
}