From 16614e9babf6b920587597f35c5b2122ac815e16 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 30 Jun 2013 13:45:17 +0200 Subject: *: change execl sentinels from NULL to (char*)0 Signed-off-by: Rich Felker Signed-off-by: Denys Vlasenko --- loginutils/getty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils/getty.c') diff --git a/loginutils/getty.c b/loginutils/getty.c index e5d13bed6..0f060ae6c 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -695,6 +695,6 @@ int getty_main(int argc UNUSED_PARAM, char **argv) /* We use PATH because we trust that root doesn't set "bad" PATH, * and getty is not suid-root applet */ /* With -n, logname == NULL, and login will ask for username instead */ - BB_EXECLP(G.login, G.login, "--", logname, NULL); + BB_EXECLP(G.login, G.login, "--", logname, (char *)0); bb_error_msg_and_die("can't execute '%s'", G.login); } -- cgit v1.2.3