From d388dcd1f4cbaff76d552b67bc29e956273444be Mon Sep 17 00:00:00 2001 From: hades Date: Mon, 22 May 2000 16:26:06 +0000 Subject: [PATCH] No taping but running using /dev/null on the LynxOS PPCs. --- hadaq/evtbuild.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index d32c500..f5996ce 100644 --- a/hadaq/evtbuild.c +++ b/hadaq/evtbuild.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.16 2000-05-22 08:20:48 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.17 2000-05-22 16:26:06 hades Exp $"; #define _XOPEN_SOURCE #include @@ -239,8 +239,9 @@ int main(int argc, char *argv[]) } } else if (strcmp(outDev, "tape") == 0) { if (NULL == (outTape = openAnsiTape(outPath))) { - msglog(LOG_ERR, "%s, %d: %s\n", __FILE__, __LINE__, strerror(errno)); - exit(EXIT_FAILURE); + msglog(LOG_NOTICE, "Opening of tape failed (no tape available?): Writing to /dev/null.\n"); + outDev = "null"; + outFile = NULL; } } else { msglog(LOG_ERR, "unknown outputDev \"%s\"\n", outDev); -- 2.43.0