summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-07-16 09:29:00 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-07-16 09:29:00 -0400
commit515cd053baecf09a50ba4dabf6c422425d9eccbc (patch)
treeb9a22cf166a31b8ad13aa1f52f16ea62320b5749 /src
parent7d752dbeb02bbdb3ee3123a1159798073a517f86 (diff)
parent8737e3f0c805a5c8f537208937a60fd12e652e20 (diff)
merge
Diffstat (limited to 'src')
-rw-r--r--src/IO/dpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IO/dpi.c b/src/IO/dpi.c
index 963b3a14..3ad1c7ed 100644
--- a/src/IO/dpi.c
+++ b/src/IO/dpi.c
@@ -299,9 +299,9 @@ static int Dpi_start_dpid(void)
/* This is the child process. Execute the command. */
char *path1 = dStrconcat(dGethomedir(), "/.dillo/dpid", NULL);
Dpi_close_fd(st_pipe[0]);
- if (execl(path1, "dpid", NULL) == -1) {
+ if (execl(path1, "dpid", (char*)NULL) == -1) {
dFree(path1);
- if (execlp("dpid", "dpid", NULL) == -1) {
+ if (execlp("dpid", "dpid", (char*)NULL) == -1) {
MSG("Dpi_start_dpid (child): %s\n", dStrerror(errno));
do
n = write(st_pipe[1], "ERROR", 5);