X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=3db8f07fe5618d63bf7d6f354157b342697c5f0d;hp=9bfb4c5051e74098d6cfa38670cf84d8fcf36ce9;hb=900bffdb4fb7cf14ada66e3a0c81b1275cc7571f;hpb=2d32c89c9844547c83ef7a9ca97308da29e280cc diff --git a/restore/tape.c b/restore/tape.c index 9bfb4c5..3db8f07 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.69 2003/02/11 12:43:45 stelian Exp $"; + "$Id: tape.c,v 1.70 2003/02/12 11:02:30 stelian Exp $"; #endif /* not lint */ #include @@ -2085,7 +2085,8 @@ setmagtapein(void) { magtapein = ioctl(mt, MTIOCGET, (char *)&mt_stat) == 0; } - Vprintf(stdout,"Input is from %s\n", + Vprintf(stdout,"Input is from a %s %s\n", + host ? "remote" : "local", magtapein ? "tape" : Vflag ? "multi-volume (no tape)" : "file/pipe"); }