File null-pointer.patch of Package kterm

diff -ru kterm-6.2.0.orig/main.c kterm-6.2.0/main.c
--- kterm-6.2.0.orig/main.c	2005-04-19 18:29:38.000000000 +0200
+++ kterm-6.2.0/main.c	2005-04-19 18:31:04.000000000 +0200
@@ -3101,7 +3101,7 @@
 		  execl (bin_login, "login", "-p", "-f", pw->pw_name, 0);
 #endif
 		execlp (ptr, (term->misc.login_shell ? shname_minus : shname),
-			0);
+			NULL);
 
 		/* Exec failed. */
 		fprintf (stderr, "%s: Could not exec %s!\n", xterm_name, ptr);
openSUSE Build Service is sponsored by