[DRBD-cvs] svn commit by lars - r2859 - trunk/user - fd 0 is stdin :->

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Tue Apr 17 20:03:28 CEST 2007


Author: lars
Date: 2007-04-17 20:03:26 +0200 (Tue, 17 Apr 2007)
New Revision: 2859

Modified:
   trunk/user/drbdsetup.c
Log:
fd 0 is stdin :->

Modified: trunk/user/drbdsetup.c
===================================================================
--- trunk/user/drbdsetup.c	2007-04-17 15:51:41 UTC (rev 2858)
+++ trunk/user/drbdsetup.c	2007-04-17 18:03:26 UTC (rev 2859)
@@ -1298,8 +1298,8 @@
 	tl->drbd_p_header->flags = 0;
 	send_cn(sk_nl,tl->nl_header,(char*)tl->tag_list_cpos-(char*)tl->nl_header);
 
-	dt_unlock_drbd(lock_fd); 
-	lock_fd=0;
+	dt_unlock_drbd(lock_fd);
+	lock_fd=-1;
 
 	do {
 		gettimeofday(&before,NULL);



More information about the drbd-cvs mailing list