cluster/gfs2/mount util.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-06-30 15:11:39
Modified files:
gfs2/mount : util.c
Log message:
gfs_controld_connect error values are < 0, not 0
gfs2/mount/util.c +3 -3
@@ -320,12 +320,12 @@do {sleep (1 ); fd =gfs_controld_connect (); -if (!fd) +if (fd <0 )warn ("waiting for gfs_controld to start" ); - }while (!fd && ++i <10 ); + }while (fd <0 && ++i <10 );/* FIXME: should we start the daemon here? */ -if (!fd) { +if (fd <0 ) {warn ("gfs_controld not running" ); rv =-1 ; goto out;