Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 11:37:24 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216229 - head/usr.sbin/boot0cfg
Message-ID:  <201012061137.oB6BbOwX031804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brucec
Date: Mon Dec  6 11:37:24 2010
New Revision: 216229
URL: http://svn.freebsd.org/changeset/base/216229

Log:
  Revert r209469: it causes the rest of the function to be bypassed.
  
  Reported by: ae

Modified:
  head/usr.sbin/boot0cfg/boot0cfg.c

Modified: head/usr.sbin/boot0cfg/boot0cfg.c
==============================================================================
--- head/usr.sbin/boot0cfg/boot0cfg.c	Mon Dec  6 10:58:13 2010	(r216228)
+++ head/usr.sbin/boot0cfg/boot0cfg.c	Mon Dec  6 11:37:24 2010	(r216229)
@@ -356,8 +356,6 @@ write_mbr(const char *fname, int flags, 
 	if (n != mbr_size)
 	   errx(1, "%s: short write", fname);
 	return;
-    } else {
-	    err(1, "write_mbr: %s", fname);
     }
 
     /*



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