]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Mon, 22 May 2000 11:03:39 +0000 (11:03 +0000)
committerhades <hades>
Mon, 22 May 2000 11:03:39 +0000 (11:03 +0000)
hadaq/ansiTape.c
hadaq/ansiTape.h

index 91bc31fdfa5103aa1ea996c1a56f59e6946d26fd..23e6b6bee90108b1e6da04e081e398e1144b0c8a 100644 (file)
@@ -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) {
index 444259376a5188fe3dd4a503b7a2d1c51edb426b..3cdbef5e708a492b528fa14a661c47745ea601d1 100644 (file)
@@ -3,6 +3,10 @@
 
 #define BLOCKSIZE 8192
 
+#ifdef UNIX
+       #define MTEOM MTSEOD
+#endif
+
 typedef struct AnsiTapeS {
        int fd;