summaryrefslogtreecommitdiffstats
path: root/libexec/uucpd/uucpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/uucpd/uucpd.c')
-rw-r--r--libexec/uucpd/uucpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c
index e914189..7ca2b67 100644
--- a/libexec/uucpd/uucpd.c
+++ b/libexec/uucpd/uucpd.c
@@ -191,7 +191,7 @@ void doit(struct sockaddr *sinp)
initgroups(pw->pw_name, pw->pw_gid);
chdir(pw->pw_dir);
setuid(pw->pw_uid);
- execl(pw->pw_shell, "uucico", NULL);
+ execl(pw->pw_shell, "uucico", (char *)NULL);
syslog(LOG_ERR, "execl: %m");
_exit(1);
}
OpenPOWER on IntegriCloud