]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/label.c
kes When applying a storage override, release all previous storage
[bacula/bacula] / bacula / src / stored / label.c
index 4db987adff24f153788e965efa4346d07a3b056f..19ca8badcdc1a868c3d4583c8f157f6b83ea83e4 100644 (file)
@@ -7,8 +7,8 @@
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
    modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -755,7 +755,7 @@ bool write_session_label(DCR *dcr, int label)
 
    free_record(rec);
    Dmsg2(150, "Leave write_session_label Block=%ud File=%ud\n",
-      dev->get_block(), dev->get_file());
+      dev->get_block_num(), dev->get_file());
    return true;
 }