[Devel] [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list

Nadia.Derbey at bull.net Nadia.Derbey at bull.net
Mon Jun 30 01:38:22 PDT 2008


[ PATCH 01/01 ]

This is a trivial patch that correctly closes the semundo file after restoring
the semundo list.

Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>

---
 cr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: cryo-001/cr.c
===================================================================
--- cryo-001.orig/cr.c	2008-06-27 17:25:57.000000000 +0200
+++ cryo-001/cr.c	2008-06-30 11:15:41.000000000 +0200
@@ -1447,7 +1447,7 @@ static int restore_semundo(int fd, pid_t
 
 	Free(semid);
 	Free(semadj);
-	PT_CLOSE(pid, fd);
+	PT_CLOSE(pid, procfd);
 	return ret;
 }
 

--
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list