Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2010 15:28:59 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r216328 - stable/7/usr.sbin/boot0cfg
Message-ID:  <201012091528.oB9FSxcV042650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brucec
Date: Thu Dec  9 15:28:59 2010
New Revision: 216328
URL: http://svn.freebsd.org/changeset/base/216328

Log:
  MFC r216229:
  
  Revert r209469: it causes the rest of the function to be bypassed.
  
  Approved by:	re (kensmith)

Modified:
  stable/7/usr.sbin/boot0cfg/boot0cfg.c
Directory Properties:
  stable/7/usr.sbin/boot0cfg/   (props changed)

Modified: stable/7/usr.sbin/boot0cfg/boot0cfg.c
==============================================================================
--- stable/7/usr.sbin/boot0cfg/boot0cfg.c	Thu Dec  9 15:27:43 2010	(r216327)
+++ stable/7/usr.sbin/boot0cfg/boot0cfg.c	Thu Dec  9 15:28:59 2010	(r216328)
@@ -355,8 +355,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);
     }
 
     if (flags != 0)



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