LVM2/daemons/clvmd clvmd.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-29 12:44:52
Modified files:
daemons/clvmd : clvmd.c
Log message:
Remove dead assignment in wait_for_child
'pid' is not used anywhere - remove it.
daemons/clvmd/clvmd.c +1 -2
@@ -965,7 +965,6 @@*/ static void be_daemon (int timeout) { -pid_t pid;int devnull =open ("/dev/null" ,O_RDWR );if (devnull ==-1 ) {perror ("Can't open /dev/null" );
@@ -974,7 +973,7 @@pipe (child_pipe); -switch (pid =fork ()) { +switch (fork ()) {case -1 :perror ("clvmd: can't fork" );exit (2 );