From: Kern Sibbald Date: Fri, 12 Nov 2010 09:47:18 +0000 (+0100) Subject: Improved error message when drive busy X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eeb3b23daec43753b0382058d1e25c4a78a791fa;p=bacula%2Fbacula Improved error message when drive busy --- diff --git a/bacula/src/stored/dircmd.c b/bacula/src/stored/dircmd.c index e42b09af4f..a1bd753df8 100644 --- a/bacula/src/stored/dircmd.c +++ b/bacula/src/stored/dircmd.c @@ -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()); } }