forked from pool/util-linux
15 lines
325 B
Diff
15 lines
325 B
Diff
--- util-linux-2.12q/misc-utils/script.c
|
|
+++ util-linux-2.12q/misc-utils/script.c
|
|
@@ -325,9 +325,9 @@
|
|
shname = shell;
|
|
|
|
if (cflg)
|
|
- execl(shell, shname, "-c", cflg, 0);
|
|
+ execl(shell, shname, "-c", cflg, NULL);
|
|
else
|
|
- execl(shell, shname, "-i", 0);
|
|
+ execl(shell, shname, "-i", NULL);
|
|
|
|
perror(shell);
|
|
fail();
|