Author: marcel
Date: Sun Feb 22 01:01:02 2015
New Revision: 279126
URL: https://svnweb.freebsd.org/changeset/base/279126

Log:
  In scheme_write(), don't overwrite the end parameter with the
  return value of image_get_size(). As it so happens, the only
  caller of scheme_write() passes exactly that.

Modified:
  head/usr.bin/mkimg/scheme.c

Modified: head/usr.bin/mkimg/scheme.c
==============================================================================
--- head/usr.bin/mkimg/scheme.c Sun Feb 22 00:58:10 2015        (r279125)
+++ head/usr.bin/mkimg/scheme.c Sun Feb 22 01:01:02 2015        (r279126)
@@ -180,7 +180,6 @@ scheme_write(lba_t end)
 {
        int error;
 
-       end = image_get_size();
        error = scheme->write(end, bootcode);
        return (error);
 }
_______________________________________________
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