Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.6 /scripts/docproc.c

Filename:/scripts/docproc.c
Lines Added:3
Lines Deleted:2
Also changed in: (Previous) 2.4.6-pre9  2.4.6-pre8  2.4.6-pre7  2.4.6-pre6  2.4.6-pre5  2.4.5-ac24 
(Following) 2.5.29  2.5.70-bk14  2.5.70-bk15  2.5.70-bk16  2.5.70-bk17  2.5.70-bk18 

Location
[  2.4.6
  [  scripts
     o  docproc.c

Patch

diff -u --recursive --new-file v2.4.5/linux/scripts/docproc.c linux/scripts/docproc.c
--- v2.4.5/linux/scripts/docproc.c   Wed Apr 12 09:47:30 2000
+++ linux/scripts/docproc.c   Wed Jun 20 20:56:24 2001
@@ -18,6 +18,7 @@
    char type[64];
    int i;
    int vp=2;
+   int ret=0;
    pid_t pid;
 
 
@@ -96,8 +97,8 @@
          perror("exec scripts/kernel-doc");
          exit(1);
       default:
-         waitpid(pid, NULL,0);
+         waitpid(pid, &ret ,0);
       }
    }
-   exit(0);
+   exit(ret);
 }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.