File patch_utils.diff of Package yafc

--- src/utils.c.orig	2005-11-04 13:31:01.000000000 +0100
+++ src/utils.c	2005-11-04 13:31:14.000000000 +0100
@@ -207,11 +207,11 @@
 	pid = fork();
 	if(pid == 0) { /* child thread */
 		if(cmdline)
-			execl(shell, shell, "-c", cmdline, 0);
+			execl(shell, shell, "-c", cmdline, NULL);
 		else {
 			printf(_("Executing '%s', use 'exit' to exit from shell...\n"),
 				   shell);
-			execl(shell, shell, 0);
+			execl(shell, shell, NULL);
 		}
 		perror(shell);
 		exit(1);
openSUSE Build Service is sponsored by