]> git.sur5r.net Git - bacula/bacula/commitdiff
Improved error message when drive busy
authorKern Sibbald <kern@sibbald.com>
Fri, 12 Nov 2010 09:47:18 +0000 (10:47 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:37:12 +0000 (14:37 +0200)
bacula/src/stored/dircmd.c

index e42b09af4f16b5d5572df6809f71876e76507cf6..a1bd753df84c1330e80818b44ae5e0e253d33437 100644 (file)
@@ -1248,7 +1248,7 @@ static void send_dir_busy_message(BSOCK *dir, DEVICE *dev)
        dir->fsend(_("3936 Device \"%s\" is busy reading.\n"),
                    dev->print_name());;
    } else {
-       dir->fsend(_("3937 Device \"%s\" is busy with %d writer(s).\n"),
-          dev->print_name(), dev->num_writers);
+       dir->fsend(_("3937 Device \"%s\" is busy with writers=%d reserved=%d.\n"),
+          dev->print_name(), dev->num_writers, dev->num_reserved());
    }
 }