ref: f029ea1694b4f0f8ec0cc848b936b0122bd17347
parent: 868a262bb849dcdfbf5be6f15f2942421d5a2223
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Feb 5 14:52:09 EST 2014
have to use NULL instead of nil for ape programs...
--- a/sys/src/cmd/audio/flacdec/flacdec.c
+++ b/sys/src/cmd/audio/flacdec/flacdec.c
@@ -55,7 +55,7 @@
dup2(pfd[1], 0);
close(pfd[1]);
close(pfd[0]);
- execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, nil);
+ execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, NULL);
fprintf(stderr, "Error executing converter\n");
exit(1);
}
--- a/sys/src/cmd/audio/oggdec/oggdec.c
+++ b/sys/src/cmd/audio/oggdec/oggdec.c
@@ -61,7 +61,7 @@
dup2(pfd[1], 0);
close(pfd[1]);
close(pfd[0]);
- execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, nil);
+ execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, NULL);
fprintf(stderr, "Error executing converter\n");
exit(1);
}