It's possible that the dump device has gone away after it was

configured, change the message to let people know this is a
possibility. I've slightly changed the message from the one
submitted by Pekka to keep the printf on one line.

Submitted by:	Pekka Savola <pekkas@netcore.fi>
This commit is contained in:
David Malone 2008-11-23 21:05:22 +00:00
parent 9d7c8e5771
commit 27d68f904f

View File

@ -238,7 +238,7 @@ doadump(void)
* Give them a clue as to why they can't dump.
*/
if (dumper.dumper == NULL) {
printf("Cannot dump. No dump device defined.\n");
printf("Cannot dump. Device not defined or unavailable.\n");
return;
}