svn commit: r216229 - head/usr.sbin/boot0cfg

Bruce Cran brucec at FreeBSD.org
Mon Dec 6 11:37:25 UTC 2010


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);
     }
 
     /*


More information about the svn-src-all mailing list