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);
     }
 
     /*
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to