From: hades Date: Mon, 22 May 2000 11:03:39 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7920b4c9487c57fb40f40c8956b2f49d92e8df20;p=daqdata.git *** empty log message *** --- diff --git a/hadaq/ansiTape.c b/hadaq/ansiTape.c index 91bc31f..23e6b6b 100644 --- a/hadaq/ansiTape.c +++ b/hadaq/ansiTape.c @@ -43,7 +43,7 @@ AnsiTape *openAnsiTape(const char* filename) { exit(-2); } - mtoper->mt_op = MTEOM; + mtoper->mt_op = MTSEOD; mtoper->mt_count = 1; stat = ioctl(tape, MTIOCTOP, mtoper); if (stat == -1) { diff --git a/hadaq/ansiTape.h b/hadaq/ansiTape.h index 4442593..3cdbef5 100644 --- a/hadaq/ansiTape.h +++ b/hadaq/ansiTape.h @@ -3,6 +3,10 @@ #define BLOCKSIZE 8192 +#ifdef UNIX + #define MTEOM MTSEOD +#endif + typedef struct AnsiTapeS { int fd;