summaryrefslogtreecommitdiffstats
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
commit46e045034336a2cc90c1798cd7cc07af744ddfd6 (patch)
tree3b9b51fc482e729f663d25333e77fbed9aaa939a /scripts/docproc.c
parent31dc59d503a02e84c4de98826452acaeb56dc15a (diff)
Merge with Linux 2.3.99-pre4.
Diffstat (limited to 'scripts/docproc.c')
-rw-r--r--scripts/docproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/docproc.c b/scripts/docproc.c
index 0c23e87c1..0f7eaa218 100644
--- a/scripts/docproc.c
+++ b/scripts/docproc.c
@@ -12,7 +12,7 @@
int main(int argc, char *argv[])
{
char buf[1024];
- char *vec[1024];
+ char *vec[8192];
char type[64];
int i;
int vp=2;
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
*/
vec[0]="kernel-doc";
vec[1]="-docbook";
- for(i=1;vp<1021;i++)
+ for(i=1;vp<8189;i++)
{
if(argv[i]==NULL)
break;
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
exit(1);
case 0:
execvp("scripts/kernel-doc", vec);
- perror("exec");
+ perror("exec scripts/kernel-doc");
exit(1);
default:
waitpid(pid, NULL,0);