]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
More informative debug msg. Sergey.
authorhadaq <hadaq>
Mon, 23 Aug 2010 11:57:19 +0000 (11:57 +0000)
committerhadaq <hadaq>
Mon, 23 Aug 2010 11:57:19 +0000 (11:57 +0000)
hadaq/netmem.c

index 52f8d216bf327c38c3a11ac824362e2342c70d87..03d81d5f205fd50e03989e7d50ee7c0e139ffe47 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.46 2010-08-19 13:31:43 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.47 2010-08-23 11:57:19 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
@@ -591,7 +591,7 @@ int main(int argc, char *argv[])
                shmTrans[i] = ShmTrans_open(buf, 2 * theArgs->queueSize[i]);
 
                if (shmTrans[i] == NULL) {
-                       sprintf(msglog, "<E> %s, %d: ShmTrans_open: failed to open shmem segment %d: %s", __FILE__, __LINE__, i,
+                       sprintf(msglog, "<E> %s, %d: ShmTrans_open: failed to open shmem segment %d: %s: %s", __FILE__, __LINE__, i, buf,
                                        strerror(errno));
                        storeLogInfo(theArgs, msglog);
                        syslog(LOG_ERR, "%s, %d: %s", __FILE__, __LINE__, strerror(errno));