Module: xenomai-head
Branch: master
Commit: 68f454fd791a2ae0fa2ad9888831a053248f993d
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=68f454fd791a2ae0fa2ad9888831a053248f993d

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun May 15 17:25:50 2011 +0200

nucleus/vfiles: fix vlink creation

---

 ksrc/nucleus/vfile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/nucleus/vfile.c b/ksrc/nucleus/vfile.c
index d8ac398..4898e86 100644
--- a/ksrc/nucleus/vfile.c
+++ b/ksrc/nucleus/vfile.c
@@ -752,7 +752,7 @@ int xnvfile_init_link(const char *from,
 
        ppde = parent->entry.pde;
        pde = proc_symlink(from, ppde, to);
-       if (vlink->entry.pde == NULL)
+       if (pde == NULL)
                return -ENOMEM;
 
        vlink->entry.parent = parent;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to