]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/bsr.c
ebl Modify disk-changer to check if slot contains something before
[bacula/bacula] / bacula / src / dird / bsr.c
index 4b464bf92f6dca84ca77b54b8364384d665c9db3..4e03daa5a257079118b3b929e9f2ddbc160b7ee4 100644 (file)
@@ -18,8 +18,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
@@ -245,7 +245,7 @@ uint32_t write_bsr_file(UAContext *ua, RESTORE_CTX &rx)
    if (!fd) {
       berrno be;
       ua->error_msg(_("Unable to create bootstrap file %s. ERR=%s\n"),
-         fname.c_str(), be.strerror());
+         fname.c_str(), be.bstrerror());
       goto bail_out;
    }
    /* Write them to file */