diff options
Diffstat (limited to 'pan')
-rw-r--r-- | pan/ltp-pan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pan/ltp-pan.c b/pan/ltp-pan.c index f495ef6d6..4c1e9deb6 100644 --- a/pan/ltp-pan.c +++ b/pan/ltp-pan.c @@ -1024,7 +1024,7 @@ run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode, * cmd directly. */ if (strpbrk(c_cmdline, "\"';|<>$\\")) { - execlp("sh", "sh", "-c", c_cmdline, (char *)0); + execlp("sh", "sh", "-c", c_cmdline, NULL); errlen = sprintf(errbuf, "pan(%s): execlp of '%s' (tag %s) failed. errno:%d %s", panname, c_cmdline, colle->name, errno, |