]> 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>
Sun, 28 Nov 2010 08:07:40 +0000 (09:07 +0100)
bacula/src/stored/dircmd.c

index e339602cf176613ffed70f5e62eea8e889363b32..250e427e55e0fa120e32223bd9409c7bf0d1cedd 100644 (file)
@@ -1239,7 +1239,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());
    }
 }