]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Shared mem name fixed. Sergey.
authorhadaq <hadaq>
Fri, 8 Oct 2010 13:55:16 +0000 (13:55 +0000)
committerhadaq <hadaq>
Fri, 8 Oct 2010 13:55:16 +0000 (13:55 +0000)
hadaq/evtbuild.c
hadaq/netmem.c

index a34fa05f084e0c7a92dd18f6e0db76a67b1d0a65..b006a9aec4cfb62e0f011f225def0fd495cdd58a 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.136 2010-10-08 12:30:52 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.137 2010-10-08 13:55:16 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
@@ -935,7 +935,7 @@ int main(int argc, char *argv[])
                        char buf[_POSIX_PATH_MAX];
 
                        /* use shared mem name from CL if given */
-                       sprintf(buf, "netqueue%s%d", theArgs->shmname, i);
+                       sprintf(buf, "netqueue%s_%d", theArgs->shmname, i);
 
                        shmTrans[i] = ShmTrans_create(buf, 2 * theArgs->queueSize[i]);
                        if (shmTrans[i] == NULL) {
index 8717f8f3b88ac891e242fc7ab56972e2a8db7c8a..1527a391d7c1ab51f707477cf12ee06090dde77e 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.48 2010-09-02 17:07:43 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.49 2010-10-08 13:55:17 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
@@ -650,7 +650,7 @@ int main(int argc, char *argv[])
                }
 
                /* use shared mem name from CL if given */
-               sprintf(buf, "netqueue%s%d", theArgs->shmname, i);
+               sprintf(buf, "netqueue%s_%d", theArgs->shmname, i);
 
                shmTrans[i] = ShmTrans_open(buf, 2 * theArgs->queueSize[i]);