From 8636b161b333b18525b6f5ffc5139079c29c0d63 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 9 Jul 2001 09:24:06 +0000 Subject: Fix the type of the NULL arg to execl() Idea from: Theo de Raadt --- libexec/uucpd/uucpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/uucpd/uucpd.c') 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); } -- cgit v1.1