]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
init to zero fixed. Sergey.
authorhadaq <hadaq>
Fri, 23 Jul 2010 16:42:33 +0000 (16:42 +0000)
committerhadaq <hadaq>
Fri, 23 Jul 2010 16:42:33 +0000 (16:42 +0000)
ebctrl/ioc/ebctrlApp/src/netmem.c

index 28717ebcf544cb9094700e1c14b66b1bce998df0..3b126f274322f9fcc8bf5887c425c419c458fbc2 100644 (file)
@@ -32,7 +32,7 @@ long netmem_proc( struct genSubRecord *pgsub )
   out[7] = (unsigned long *)pgsub->valh;  /* byteRRate = bytes received rate */
 
   for( i=0; i<8; i++ )
-    *out[1] = 0;
+    *out[i] = 0;
 
   char bufmem[_POSIX_PATH_MAX];
   sprintf( bufmem, "%s%s", "daq_netmem", getenv("EBNUM") );