From: Kern Sibbald Date: Fri, 12 Nov 2010 09:47:18 +0000 (+0100) Subject: Improved error message when drive busy X-Git-Tag: Release-7.0.0~1329 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0103a605d98a180200d150133b3ae8e23c10ce3;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()); } }