From 148c60badcfa2c4eaa5d17fe526f8c77b6fe6b2c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 12 Nov 2010 10:47:18 +0100 Subject: [PATCH] Improved error message when drive busy --- bacula/src/stored/dircmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/dircmd.c b/bacula/src/stored/dircmd.c index e339602cf1..250e427e55 100644 --- a/bacula/src/stored/dircmd.c +++ b/bacula/src/stored/dircmd.c @@ -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()); } } -- 2.39.5