From b0103a605d98a180200d150133b3ae8e23c10ce3 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 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()); } } -- 2.39.5