Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 21:05:22 +0000 (UTC)
From:      David Malone <dwmalone@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185234 - head/sys/kern
Message-ID:  <200811232105.mANL5MSh064402@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dwmalone
Date: Sun Nov 23 21:05:22 2008
New Revision: 185234
URL: http://svn.freebsd.org/changeset/base/185234

Log:
  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>

Modified:
  head/sys/kern/kern_shutdown.c

Modified: head/sys/kern/kern_shutdown.c
==============================================================================
--- head/sys/kern/kern_shutdown.c	Sun Nov 23 21:01:28 2008	(r185233)
+++ head/sys/kern/kern_shutdown.c	Sun Nov 23 21:05:22 2008	(r185234)
@@ -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;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811232105.mANL5MSh064402>