svn commit: r216326 - stable/8/usr.sbin/boot0cfg

Bruce Cran brucec at FreeBSD.org
Thu Dec 9 15:26:38 UTC 2010


Author: brucec
Date: Thu Dec  9 15:26:38 2010
New Revision: 216326
URL: http://svn.freebsd.org/changeset/base/216326

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

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

Modified: stable/8/usr.sbin/boot0cfg/boot0cfg.c
==============================================================================
--- stable/8/usr.sbin/boot0cfg/boot0cfg.c	Thu Dec  9 15:24:59 2010	(r216325)
+++ stable/8/usr.sbin/boot0cfg/boot0cfg.c	Thu Dec  9 15:26:38 2010	(r216326)
@@ -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);
     }
 
     /*


More information about the svn-src-all mailing list