From 431f8263a1534ca86255f5554bfa8ee5f1ba91b3 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 9 Jul 2001 07:04:40 +0000 Subject: [PATCH] correct type on last arg to execl(); nordin@cse.ogi.edu --- src/lib/libutil/passwd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/libutil/passwd.c b/src/lib/libutil/passwd.c index 8b98890a..a3a2f534 100644 --- a/src/lib/libutil/passwd.c +++ b/src/lib/libutil/passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: passwd.c,v 1.24 2001/01/02 18:22:32 millert Exp $ */ +/* $OpenBSD: passwd.c,v 1.25 2001/07/09 07:04:40 deraadt Exp $ */ /* * Copyright (c) 1987, 1993, 1994, 1995 @@ -34,7 +34,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: passwd.c,v 1.24 2001/01/02 18:22:32 millert Exp $"; +static char rcsid[] = "$OpenBSD: passwd.c,v 1.25 2001/07/09 07:04:40 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -295,10 +295,10 @@ pw_mkdb(username) if (pw_lck) { if (username) execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p", "-d", - pw_dir, "-u", username, pw_lck, NULL); + pw_dir, "-u", username, pw_lck, (char *)NULL); else execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p", "-d", - pw_dir, pw_lck, NULL); + pw_dir, pw_lck, (char *)NULL); } _exit(1); }