]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/bsr.c
Fix buffer overrun in FD
[bacula/bacula] / bacula / src / dird / bsr.c
index 4b464bf92f6dca84ca77b54b8364384d665c9db3..16d4ee66022172a5f891fe2c781d2640aafdf374 100644 (file)
@@ -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 */