svn commit: r216328 - stable/7/usr.sbin/boot0cfg

Bruce Cran brucec at FreeBSD.org
Thu Dec 9 15:28:59 UTC 2010


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)


More information about the svn-src-all mailing list