]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/backup.c
23Aug07
[bacula/bacula] / bacula / src / dird / backup.c
index 93de742f0359656640325a0cbfba09b581e7bda3..a6a0b0aeedf1b720b841a6db8646160fd76cb9ea 100644 (file)
@@ -293,7 +293,7 @@ int wait_for_job_termination(JCR *jcr)
 
    if (is_bnet_error(fd)) {
       Jmsg(jcr, M_FATAL, 0, _("Network error with FD during %s: ERR=%s\n"),
-          job_type_to_str(jcr->JobType), bnet_strerror(fd));
+          job_type_to_str(jcr->JobType), fd->bstrerror());
    }
    bnet_sig(fd, BNET_TERMINATE);   /* tell Client we are terminating */