[dm-devel] [PATCH] multipathd: Added missing variable declaration

Mateusz Półrola mateusz.polrola at gmail.com
Mon Dec 9 20:37:49 UTC 2013


Declaration of envp variable in child function is missing

---
 multipathd/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multipathd/main.c b/multipathd/main.c
index 7c0e313..2d6aac8 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -1609,6 +1609,7 @@ child (void * param)
  struct multipath * mpp;
  int i;
  int rc, pid_rc;
+ char *envp;

  mlockall(MCL_CURRENT | MCL_FUTURE);
  sem_init(&exit_sem, 0, 0);
-- 
1.8.4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20131209/606a5014/attachment.htm>


More information about the dm-devel mailing list