From: Eric Bollengier Date: Mon, 26 May 2008 14:51:03 +0000 (+0000) Subject: ebl fix compilation X-Git-Tag: Release-7.0.0~4538 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68151b1dc344289a00aba7f9ac18a82f9f012298;p=bacula%2Fbacula ebl fix compilation git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7033 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/faketape.c b/bacula/src/stored/faketape.c index 29e82de0eb..62b9857c74 100644 --- a/bacula/src/stored/faketape.c +++ b/bacula/src/stored/faketape.c @@ -709,7 +709,7 @@ int faketape::offline() atBOT = false; /* Begin of tape */ online = false; - file_size = 0; + file_block = 0; current_file = -1; current_block = -1; last_file = -1; @@ -850,6 +850,8 @@ void faketape::update_pos() file_block = statp.st_blocks; } + Dmsg1(dbglevel+1, "update_pos=%i\n", file_block); + if (file_block > max_block) { atEOT = true; } else {