Module: xenomai-abe
Branch: comedi
Commit: c9c62cd23cbc4cced5602061b52ee2055f6b6074
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=c9c62cd23cbc4cced5602061b52ee2055f6b6074

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Mon Sep 21 00:11:41 2009 +0200

Fix obvious typo mistake

---

 ksrc/drivers/comedi/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/drivers/comedi/device.c b/ksrc/drivers/comedi/device.c
index 3d621d5..59b0a69 100644
--- a/ksrc/drivers/comedi/device.c
+++ b/ksrc/drivers/comedi/device.c
@@ -319,7 +319,7 @@ int comedi_assign_driver(comedi_cxt_t * cxt,
                /* Initialize the private data even if it not our role
                   (the driver should do it), that may prevent hard to
                   find bugs */
-               memset(dev->priv, 0, drv->prvdata_size);
+               memset(dev->priv, 0, drv->privdata_size);
        }
 
        if ((ret = drv->attach(dev, link_arg)) != 0)


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

Reply via email to