X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=3195ab53b4746893ca50f62ef3e085980bd3db60;hp=b9d0b02635f2c9d3629083a38ce4d3e2bfb30c07;hb=ba3af39e8b08027d3338b5533bddc86a9c803a74;hpb=4095abc031a4b91bd6d056ff2b6cf9e7cd568afc diff --git a/restore/tape.c b/restore/tape.c index b9d0b02..3195ab5 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.63 2002/07/19 14:57:40 stelian Exp $"; + "$Id: tape.c,v 1.64 2002/07/29 12:00:34 stelian Exp $"; #endif /* not lint */ #include @@ -285,7 +285,7 @@ setup(void) #ifdef RRESTORE if (host) - mt = rmtopen(temptape, "O_RDONLY"); + mt = rmtopen(temptape, O_RDONLY); else #endif if (pipein) @@ -541,7 +541,7 @@ again: } #ifdef RRESTORE if (host) - mt = rmtopen(magtape, "O_RDONLY"); + mt = rmtopen(magtape, O_RDONLY); else #endif mt = OPEN(magtape, O_RDONLY, 0);