]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix compilation
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 26 May 2008 14:51:03 +0000 (14:51 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 26 May 2008 14:51:03 +0000 (14:51 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7033 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/faketape.c

index 29e82de0eb6cc84e7cf06d9d6a7783e1d1d33b39..62b9857c74f2a752302f0fea93fae70269f69b15 100644 (file)
@@ -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 {